{
  "id": "bosh",
  "name": "BOSH CLI",
  "homepage": "https://bosh.io",
  "description": "BOSH is a project that unifies release engineering, deployment, and lifecycle management of small and large-scale cloud software.",
  "icon": "https://bosh.io/docs/assets/images/favicon.2776d0bae488.png",
  "executables": [
    "bosh"
  ],
  "dotfiles": {
    "paths": [
      "~/.bosh/config"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false,
    "secret_paths": [
      {
        "file": "~/.bosh/config",
        "format": "yaml",
        "match": {
          "key_path": [
            "environments.*.password",
            "environments.*.access_token",
            "environments.*.refresh_token"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "Director connection options",
    "description": "Global options for the BOSH CLI: which director and deployment to talk to, and output style. Use the subcommand tabs for deploy, vms and ssh; the many other commands are left out.",
    "quality": "ai-draft",
    "base": "fig:bosh",
    "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/bosh.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "environment",
        "label": "Director environment",
        "description": "Director environment name or URL.",
        "type": "string",
        "option": [
          "--environment",
          "-e"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "deployment",
        "label": "Deployment",
        "description": "Deployment name.",
        "type": "string",
        "option": [
          "--deployment"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "ca_cert",
        "label": "CA certificate",
        "type": "path",
        "option": [
          "--ca-cert"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "json",
        "label": "JSON output",
        "type": "boolean",
        "option": [
          "--json"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "non_interactive",
        "label": "Non-interactive",
        "description": "Do not ask for user input.",
        "type": "boolean",
        "option": [
          "--non-interactive",
          "-n"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_color",
        "label": "No color",
        "type": "boolean",
        "option": [
          "--no-color"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "parallel",
        "label": "Max parallel operations",
        "type": "integer",
        "option": [
          "--parallel"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "scripted",
        "label": "Scripted use",
        "fields": [
          "environment",
          "deployment",
          "json",
          "non_interactive"
        ],
        "required": [],
        "set": {
          "json": [
            true
          ],
          "non_interactive": [
            true
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "environment",
          "deployment",
          "json",
          "non_interactive"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "ca_cert",
          "no_color",
          "parallel"
        ]
      }
    ],
    "subcommand": [
      {
        "path": [
          "deploy"
        ],
        "label": "Deploy manifest",
        "description": "Update a deployment from a manifest. Variables, ops files and flags beyond the manifest path are not in the completion data.",
        "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/bosh.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "manifest",
            "label": "Manifest",
            "description": "Path to the deployment manifest.",
            "type": "path",
            "position": 0,
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "deploy",
            "label": "Deploy",
            "fields": [
              "manifest"
            ],
            "required": [
              "manifest"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "manifest"
            ]
          }
        ]
      },
      {
        "path": [
          "vms"
        ],
        "label": "List VMs",
        "description": "List all VMs in all deployments.",
        "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/bosh.ts",
            "license": "MIT"
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": []
          }
        ]
      },
      {
        "path": [
          "ssh"
        ],
        "label": "SSH to instance",
        "description": "SSH into an instance.",
        "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/bosh.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "instance",
            "label": "Instance",
            "description": "INSTANCE-GROUP/INSTANCE-ID; leave blank to choose.",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "ssh",
            "label": "SSH",
            "fields": [
              "instance"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "instance"
            ]
          }
        ]
      }
    ]
  }
}
