Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to run flutterfire configure from the command line silently? #48

Closed
dancamdev opened this issue Mar 10, 2022 · 2 comments

Comments

@dancamdev
Copy link

My goal here is to run the flutterfire configure command in a script, so I need it to run without promting for user input.

I tried passing the following arguments, which matched with me being already logged into the account, I expected to work without user intervention.

flutterfire configure -p <project-name> -i <ios_app_id> -a <android_app_id>

But the cli would still prompt me with selecting the platforms. Is there anyway around that? The help section doesn't cover it.

@Salakar
Copy link
Member

Salakar commented Mar 30, 2022

--yes flag has just been added for this, e.g. flutterfire config --project=<projectId> --yes

This will be available in the next release. Thanks!

@shinayser
Copy link

This command has been released but is still not on the documentation page here:
https://firebase.flutter.dev/docs/cli/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants