argAddGeneral function

void argAddGeneral(
  1. ArgParser argParser
)

Implementation

void argAddGeneral(ArgParser argParser) {
  argParser.addSeparator('General settings');
  argParser.addOption(
    argNameProject,
    abbr: 'p',
    mandatory: true,
    valueHelp: 'myProject',
    help: 'Name of your project in the firebase console',
  );
  argParser.addOption(
    argNameDatabase,
    defaultsTo: '(default)',
    valueHelp: 'myDatabase',
    help: 'Name of the database of your project in the firebase console',
  );
}