parser property
ArgParser
parser
getter/setter pair
Declares the options accepted by the id command.
The help: strings are shown verbatim to users through --help.
Implementation
static ArgParser parser = ArgParser()
..addOption('ns', help: "Namespace, ex: google.com")
..addFlag('hf', defaultsTo: true, help: 'Print header and footer')
..addFlag('help', abbr: 'h', negatable: false, help: 'Print help and exit');