CLIDocument()

Source

CLIDocument() {
  options
    ..addOption("config-path",
        abbr: "c",
        help:
            "The path to a configuration file that this application needs to initialize resources for the purpose of documenting its API.",
        defaultsTo: "config.src.yaml")
    ..addOption("title", help: "API Docs: Title", defaultsTo: "Aqueduct App")
    ..addOption("description",
        help: "API Docs: Description", defaultsTo: "An Aqueduct App")
    ..addOption("version", help: "API Docs: Version", defaultsTo: "1.0")
    ..addOption("tos", help: "API Docs: Terms of Service URL", defaultsTo: "")
    ..addOption("contact-email",
        help: "API Docs: Contact Email", defaultsTo: "")
    ..addOption("contact-name",
        help: "API Docs: Contact Name", defaultsTo: "")
    ..addOption("contact-url", help: "API Docs: Contact URL", defaultsTo: "")
    ..addOption("license-url", help: "API Docs: License URL", defaultsTo: "")
    ..addOption("license-name",
        help: "API Docs: License Name", defaultsTo: "")
    ..addOption("host",
        allowMultiple: true,
        help: "Scheme, host and port for available instances.",
        valueHelp: "https://api.myapp.com:8000");
}