parser property

ArgParser parser
getter/setter pair

Declares the options accepted by the setup_versions command.

The help: strings are shown verbatim to users through --help.

Implementation

static ArgParser parser = ArgParser()
  ..addOption(
    'versions',
    defaultsTo: InnoVersionManager.defaultVersion,
    help: 'Comma-separated Inno Setup versions to install',
  )
  ..addFlag(
    'hf',
    defaultsTo: true,
    help: 'Print header and footer',
  )
  ..addFlag(
    'help',
    abbr: 'h',
    negatable: false,
    help: 'Print help and exit',
  );