argParser property
ArgParser
get
argParser
Returns the argument parser for this command.
Implementation
ArgParser get argParser {
return ArgParser()
..addOption(
'file',
abbr: 'f',
defaultsTo: 'lib/main.dart',
help: 'Path to main.dart',
)
..addOption(
'name',
abbr: 'n',
defaultsTo: 'poppins',
help: 'Google Font name for TextKit (fredoka, poppins, roboto, etc)',
)
..addFlag('help', abbr: 'h', negatable: false, help: 'Show help');
}