flutterfire_cli icon indicating copy to clipboard operation
flutterfire_cli copied to clipboard

request: Add the ability to run flutterfire reconfigure at CI

Open AhmedLSayed9 opened this issue 1 year ago • 1 comments

Is there an existing feature request for this?

  • [X] I have searched the existing issues.

Command

flutterfire reconfigure --token "$FIREBASE_TOKEN"

Description

Running a firebase command in a CI system can be done using the --token flag.

The --token flag is already supported by flutterfire configure but we can't use it with flutterfire reconfigure.

Reasoning

It's a bit tedious to write all the flutterfire configure commands at the CI while we can easily use flutterfire reconfigure.

Additional context and comments

No response

AhmedLSayed9 avatar Nov 19 '23 21:11 AhmedLSayed9

Hey @AhmedLSayed9 - There is already a hidden flag for passing the access token that should work: https://github.com/invertase/flutterfire_cli/blob/main/packages/flutterfire_cli/test/reconfigure_test.dart#L121-L126

Let me know how it goes and I'll update the code to make this a public flag. Thanks 🙏

russellwheatley avatar Jul 02 '24 09:07 russellwheatley