flutterfire_cli icon indicating copy to clipboard operation
flutterfire_cli copied to clipboard

request: Add support for defaulting to either yes or no (or improve --yes / --skip)

Open erf opened this issue 3 years ago • 0 comments

Is there an existing feature request for this?

  • [X] I have searched the existing issues.

Command

flutterfire configure --default no

Description

I would like to default to yes or no to the various command prompts.

This is different than the yes / skip argument, which would always use the default value.

Reasoning

I would like to automate the configure commands in a script and be able to skip user input but use a value other than the default value.

Additional context and comments

Maybe the -y --yes argument could be changed to -s --skip as "yes" is a bit less descriptive. Even better a -s --skip argument could default to the default value, or you could supply either a "default", "yes" or "no" value after to determine what to choose.

erf avatar May 11 '22 20:05 erf