CLITemplateCreator()

Source

CLITemplateCreator() {
  options
    ..addOption("template",
        abbr: "t", help: "Name of the template to use", defaultsTo: "default")
    ..addOption("template-directory", hide: true)
    ..addOption("git-url",
        help:
            "Git url, will trigger generating the template from the specified git repository instead of pub.")
    ..addOption("git-ref",
        defaultsTo: "master",
        help:
            "Git reference (branch or commit), will trigger generating the template from the git repository instead of pub.")
    ..addOption("path-source",
        help:
            "Full path on filesystem, will trigger generating the template from the aqueduct source at path-source instead of pub.")
    ..addOption("version",
        defaultsTo: "any",
        help: "Version string for aqueduct on pub for template source.")
    ..addFlag("offline",
        negatable: false,
        help: "Will fetch dependencies from a local cache if they exist.");

  registerCommand(new CLITemplateList());
}