argumentParser top-level property

ArgParser argumentParser
final

Script argument parser.

Implementation

final ArgParser argumentParser = ArgParser()
  ..addOption(
    configFileArgument,
    help: '$utilityName configuration file location',
  )
  ..addFlag(
    enableFileWatcher,
    defaultsTo: true,
    help: 'If on config file content changes and feature translation directory '
        'content changes event will automatically trigger '
        'localizations generation.\nIf you want to turn it off after running '
        'the script, just delete the ${utilityName}_*.lock file',
  )
  ..addFlag(
    helpArgument,
    help: 'Print help message',
  );