{
  "id": "astro-cli",
  "name": "Astro CLI",
  "homepage": "https://www.astronomer.io/docs/astro/cli/overview",
  "description": "The Astro CLI is a command-line interface for data orchestration that gets you started with Apache Airflow quickly.",
  "icon": "https://www.astronomer.io/favicon.svg",
  "executables": [
    "astro"
  ],
  "dotfiles": {
    "paths": [
      "~/.astro/config.yaml"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false,
    "secret_paths": [
      {
        "file": "~/.astro/config.yaml",
        "match": {
          "key_path": [
            "contexts.*.token",
            "contexts.*.refreshtoken",
            "cloud.api.token"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Global project options",
    "description": "Options shared by every astro command (project root, config, site, base, log level). Use the subcommand tabs for dev and build; add and check are left out.",
    "quality": "ai-draft",
    "base": "fig:astro",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/astro.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "root",
        "label": "Project root",
        "description": "Folder containing the Astro project.",
        "type": "path",
        "option": [
          "--root"
        ],
        "path": {
          "kind": "directory",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "config",
        "label": "Config file",
        "type": "path",
        "option": [
          "--config"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "site",
        "label": "Site URL",
        "type": "url",
        "option": [
          "--site"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "base",
        "label": "Base path",
        "description": "Base pathname the site is served from.",
        "type": "string",
        "option": [
          "--base"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "verbose",
        "label": "Verbose logging",
        "type": "boolean",
        "option": [
          "--verbose"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "silent",
        "label": "Silent",
        "description": "Disable all logging.",
        "type": "boolean",
        "option": [
          "--silent"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "verbose",
        "label": "Verbose run",
        "fields": [
          "root",
          "verbose"
        ],
        "required": [],
        "set": {
          "verbose": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "root",
          "config"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "site",
          "base",
          "verbose",
          "silent"
        ]
      }
    ],
    "subcommand": [
      {
        "path": [
          "dev"
        ],
        "label": "Start dev server",
        "description": "Run the development server. Press Ctrl+C to stop.",
        "parser": {
          "end_of_options": "--",
          "interleave": "permute",
          "long_equals": true,
          "short_attached": true,
          "short_bundles": false
        },
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/astro.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "port",
            "label": "Port",
            "description": "Port to listen on.",
            "type": "integer",
            "option": [
              "--port"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "open",
            "label": "Open browser",
            "type": "boolean",
            "option": [
              "--open"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "dev-open",
            "label": "Dev server and open browser",
            "fields": [
              "port",
              "open"
            ],
            "required": [],
            "set": {
              "open": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "port",
              "open"
            ]
          }
        ]
      },
      {
        "path": [
          "build"
        ],
        "label": "Build site",
        "description": "Build the project and write it to disk.",
        "parser": {
          "end_of_options": "--",
          "interleave": "permute",
          "long_equals": true,
          "short_attached": true,
          "short_bundles": false
        },
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/astro.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "drafts",
            "label": "Include drafts",
            "description": "Include Markdown draft pages in the build.",
            "type": "boolean",
            "option": [
              "--drafts"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "build",
            "label": "Production build",
            "fields": [
              "drafts"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "drafts"
            ]
          }
        ]
      },
      {
        "path": [
          "preview"
        ],
        "label": "Preview build",
        "description": "Preview the built site locally.",
        "parser": {
          "end_of_options": "--",
          "interleave": "permute",
          "long_equals": true,
          "short_attached": true,
          "short_bundles": false
        },
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/astro.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "open",
            "label": "Open browser",
            "type": "boolean",
            "option": [
              "--open"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "preview",
            "label": "Preview",
            "fields": [
              "open"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "open"
            ]
          }
        ]
      }
    ]
  }
}
