question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Non-interactive version of firebase init

See original GitHub issue

Right now there is no way to do firebase init --project=foo {product} within a script. Since hand-crafting a firebase.json file is a lot of guesswork it could be cool to make firebase init --noninteractive accept all defaults.

@mbleigh is that possible or reasonable?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
mbleighcommented, Jun 5, 2020

We’ve always considered init to be an explicitly interactive command, but maybe we could do something like npm init -y and add a -y/--confirm that is equivalent to selecting all the defaults. I’m not strongly opposed to it.

1reaction
evamaxfieldcommented, Aug 18, 2022

Has anyone in this thread been able to also setup / initialize firebase storage via the command list above?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Firebase CLI reference
Emulator Suite · Authentication · Realtime Database · Firestore · Storage · ML · Hosting · Cloud Functions.
Read more >
Authenticate and use Firebase in non-interactive environments
If I used these commands in command prompt, it open firebase login page and on login it got authentication. After that appdistribution: ...
Read more >
Firebase CLI
The Firebase Command Line Interface (CLI) Tools can be used to test, manage, and deploy your Firebase project from the command line.
Read more >
Firebase Hosting Deployment Automation with Gitlab CI
You can do this while initialising with $ firebase init or manually ... token for use in non-interactive environments with the below command...
Read more >
CICD for frontend with Firebase and GitHub Actions
When a pre-release version of the app is released, the app should be built and deployed to the production environment. When the final...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found