{
  "id": "wing",
  "name": "wing",
  "description": "Wing cloud programming language toolchain.",
  "executables": [
    "wing"
  ],
  "commands": {
    "format": 1,
    "label": "Wing",
    "description": "Compile a Wing program; run and upgrade are not included.",
    "quality": "ai-draft",
    "base": "fig:wing",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "compile"
        ],
        "label": "Compile a program",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/wing.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "entrypoint",
            "label": "Entrypoint (.w)",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "out_dir",
            "label": "Output directory",
            "type": "path",
            "option": [
              "--out-dir",
              "-o"
            ],
            "path": {
              "kind": "directory",
              "role": "output"
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "target",
            "label": "Target",
            "type": "enum",
            "option": [
              "--target",
              "-t"
            ],
            "choices": [
              {
                "value": "tf-aws",
                "label": "tf-aws"
              },
              {
                "value": "sim",
                "label": "sim"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "compile",
            "label": "Compile",
            "fields": [
              "entrypoint",
              "out_dir",
              "target"
            ],
            "required": [
              "entrypoint"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "entrypoint",
              "out_dir",
              "target"
            ]
          }
        ]
      }
    ]
  }
}
