FirebaseCommand constructor
FirebaseCommand()
Creates a new instance of FirebaseCommand.
Configures the command-line argument parser to accept:
--flavor: Select flavor apps (defaults to 'dev')--morpheme-yaml: Path to the morpheme.yaml configuration file--overwrite: Force overwrite firebase configuration
Implementation
FirebaseCommand() {
argParser.addOptionFlavor(defaultsTo: Constants.dev);
argParser.addOptionMorphemeYaml();
argParser.addFlag(
'overwrite',
abbr: 'o',
help: 'Force overwrite firebase configuration',
defaultsTo: false,
);
}