argParser property
Argument parser for the run command with configuration and operation options.
Available options:
--configor-c- Path to the configuration file (defaults to "distribution.yaml")--operationor-o- Key of the operation to run (use "TaskKey.JobKey" for specific jobs)
Implementation
@override
ArgParser get argParser => ArgParser()
..addOption(
'config',
abbr: 'c',
help: 'Path to the configuration file.',
defaultsTo: 'distribution.yaml',
)
..addOption(
'operation',
abbr: 'o',
help:
'Key of the operation to run, use OperationKey.JobKey to run spesifict job.',
defaultsTo: '',
);