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',
)
..addFlag('help', abbr: 'h', negatable: false, help: 'Show help');
}