argParser property
Argument parser for the command.
Implementation
@override
final ArgParser argParser = ArgParser()
..addOption(
'config',
abbr: 'c',
help: 'Path to the configuration file.',
defaultsTo: 'distribution.yaml',
)
..addOption(
"name",
abbr: "n",
help: "The name of the task to create.",
)
..addOption("key", abbr: "k", help: "The key of the task to create.")
..addFlag(
"wizard",
abbr: "w",
help: "Fill in the values interactively.",
defaultsTo: false,
)
..addOption(
"description",
abbr: "d",
help: "The description of the task to create.",
);