FloCommandRunner constructor
FloCommandRunner()
Constructs a FloCommandRunner instance and registers global flags (--verbose, --quiet, --json).
Implementation
FloCommandRunner()
: super(
'flo_cli',
'A production-grade Flutter developer CLI toolkit.',
) {
argParser.addFlag(
'verbose',
abbr: 'v',
negatable: false,
help: 'Enable verbose logging.',
);
argParser.addFlag(
'quiet',
abbr: 'q',
negatable: false,
help: 'Disable all logging except errors.',
);
argParser.addFlag(
'json',
negatable: false,
help: 'Output results in JSON format.',
);
}