Firebase init documentation
See original GitHub issue[REQUIRED] Environment info
firebase-tools: 7.7.0
Platform: All
[REQUIRED] Test case
[REQUIRED] Steps to reproduce
firebase init --help
[REQUIRED] Expected behavior
Any kind of documentation
[REQUIRED] Actual behavior
$ firebase init --help
Usage: init [options] [feature]
setup a Firebase project in the current directory
Options:
-h, --help output usage information
Guys, is there any documentation for this, please?
Official page https://github.com/firebase/firebase-tools#configuration-commands suggets to use --help
parameter, but outpu is useless.
Thanks for help
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Firebase CLI reference
Documentation · Reference More. Overview Fundamentals · Add Firebase - Apple platforms (iOS+) · Add Firebase - Android · Add Firebase - Web....
Read more >The Firebase Command Line Tools
The Firebase Command Line Interface (CLI) Tools can be used to test, manage, and deploy your Firebase project from the command line. Deploy...
Read more >Firebase - Deploying
Step 1 - Install Firebase Tools. We need to install firebase tools globally in the command prompt window. npm install -g firebase-tools ·...
Read more >firebase init
firebase init. Setup a Firebase project in the current directory. Options. Name, Description. -h, --help, Output usage information. On this page. Options ...
Read more >Common Firebase CLI Commands - A Complete Guide to ...
init. This initializes Firebase and sets up a new Firebase project in the directory. It can be used to initialize specific features when...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello, we want to use
firebase init
as part of automatization. We know it can’t be run with SA, so always human will run, but still we want have script that will always produce same results.What we now need is to be able :
Plus we need to know how to setup default location (https://firebase.google.com/docs/projects/locations), otherwise
firebase init
always fail for us with :Error: Cloud resource location is not set for this project but the operation you are attempting to perform in Cloud Firestore requires it. Please see this documentation for more details: https://firebase.google.com/docs/projects/locations
Thanks for your help!
@gautamsingal the documentation would go here: https://github.com/firebase/firebase-tools/blob/master/src/commands/init.js#L26
Some things you might want to mention:
firebase init
command is an interactive setup command to build yourfirebase.json
file and bootstrap Firebase services.firebase init
to add a new Firebase product to your project even if you have already runinit
before. For example you could runfirebase init hosting
on a project that is already using Cloud Functions.firebase init firestore