{
  "id": "multipass",
  "name": "Multipass",
  "description": "Create, control and connect to Ubuntu instances.",
  "homepage": "https://multipass.run",
  "executables": [
    "multipass"
  ],
  "commands": {
    "format": 1,
    "label": "Multipass",
    "description": "Launch, list and open a shell in Ubuntu instances. Other subcommands are left out.",
    "quality": "ai-draft",
    "base": "fig:multipass",
    "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/multipass.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "launch"
        ],
        "label": "Launch an instance",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/multipass.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "image",
            "label": "Image",
            "description": "Default Ubuntu LTS if omitted.",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "name",
            "label": "Name",
            "type": "string",
            "option": [
              "--name",
              "-n"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "cpus",
            "label": "CPUs",
            "type": "integer",
            "option": [
              "--cpus",
              "-c"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "mem",
            "label": "Memory",
            "description": "Bytes or with K, M, G suffix. Default 1G.",
            "type": "string",
            "option": [
              "--mem",
              "-m"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "disk",
            "label": "Disk",
            "description": "Bytes or with K, M, G suffix. Default 5G.",
            "type": "string",
            "option": [
              "--disk",
              "-d"
            ],
            "sources": [
              "fig"
            ]
          },
          {
            "id": "cloud_init",
            "label": "Cloud-init file",
            "type": "path",
            "option": [
              "--cloud-init"
            ],
            "path": {
              "kind": "file",
              "role": "input"
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "launch",
            "label": "Launch",
            "fields": [
              "image",
              "name",
              "cpus",
              "mem",
              "disk"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "image",
              "name",
              "cpus",
              "mem",
              "disk",
              "cloud_init"
            ]
          }
        ]
      },
      {
        "path": [
          "list"
        ],
        "label": "List instances",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/multipass.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "format",
            "label": "Format",
            "type": "enum",
            "option": [
              "--format"
            ],
            "choices": [
              {
                "value": "table",
                "label": "Table"
              },
              {
                "value": "json",
                "label": "JSON"
              },
              {
                "value": "csv",
                "label": "CSV"
              },
              {
                "value": "yaml",
                "label": "YAML"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "list",
            "label": "List",
            "fields": [
              "format"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "format"
            ]
          }
        ]
      },
      {
        "path": [
          "shell"
        ],
        "label": "Open a shell",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/multipass.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Instance name",
            "description": "primary if omitted.",
            "type": "string",
            "position": 0,
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "shell",
            "label": "Shell",
            "fields": [
              "name"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name"
            ]
          }
        ]
      }
    ]
  }
}
