argParser property

  1. @override
ArgParser argParser
final

Argument parser for the command.

Implementation

@override
final ArgParser argParser = ArgParser()
  ..addOption(
    "name",
    abbr: "n",
    help: "The name of the task or job to create.",
  )
  ..addOption("key", abbr: "k", help: "The key of the task or job to create.")
  ..addFlag(
    "wizard",
    abbr: "w",
    help: "Use the wizard to create a task or job.",
    defaultsTo: false,
  )
  ..addOption(
    "description",
    abbr: "d",
    help: "The description of the task or job to create.",
  );