{
  "id": "juju",
  "name": "Juju",
  "homepage": "https://canonical.com/juju",
  "description": "DevOps management tool",
  "executables": [
    "juju"
  ],
  "dotfiles": {
    "paths": [
      "~/.local/share/juju/clouds.yaml"
    ],
    "secret": [
      "~/.local/share/juju/credentials.yaml"
    ]
  },
  "commands": {
    "format": 1,
    "label": "Juju",
    "description": "Report model status. Other commands (deploy, integrate, ssh and so on) are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "status"
        ],
        "label": "Show model status",
        "description": "Report the status of the model, optionally filtered by machine, application or unit.",
        "source": [
          {
            "id": "docs",
            "kind": "manual",
            "url": "https://documentation.ubuntu.com/juju/latest/reference/juju-cli/list-of-juju-cli-commands/status/",
            "revision": "latest 2026-10-27",
            "evidence": "juju status [options] [<selector> [...]]\n--format\ntabular\nSpecify output format (json|line|oneline|short|summary|tabular|yaml)\n-m , --model\nModel to operate in. Accepts [<controller name>:]<model name>|<model UUID>\n-o , --output\nSpecify an output file\n--relations\nShow relations section in tabular output\n--storage\nShow storage section in tabular output\n--utc\nDisplay timestamps in the UTC timezone\n--color\nUse ANSI color codes in tabular output\n-m , --model -o , --output (rendered as -m, -o)\n"
          }
        ],
        "field": [
          {
            "id": "selector",
            "label": "Selectors",
            "description": "Machine, application or unit names such as 0, mysql or mysql/0.",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "docs"
            ]
          },
          {
            "id": "model",
            "label": "Model",
            "description": "[controller:]model name or model UUID.",
            "type": "string",
            "option": [
              "--model",
              "-m"
            ],
            "sources": [
              "docs"
            ]
          },
          {
            "id": "format",
            "label": "Output format",
            "type": "enum",
            "option": [
              "--format"
            ],
            "choices": [
              {
                "value": "tabular",
                "label": "Tabular"
              },
              {
                "value": "json",
                "label": "JSON"
              },
              {
                "value": "yaml",
                "label": "YAML"
              },
              {
                "value": "summary",
                "label": "Summary"
              },
              {
                "value": "short",
                "label": "Short"
              },
              {
                "value": "line",
                "label": "Line"
              },
              {
                "value": "oneline",
                "label": "One line"
              }
            ],
            "sources": [
              "docs"
            ]
          },
          {
            "id": "relations",
            "label": "Show relations",
            "type": "boolean",
            "option": [
              "--relations"
            ],
            "sources": [
              "docs"
            ]
          },
          {
            "id": "storage",
            "label": "Show storage",
            "type": "boolean",
            "option": [
              "--storage"
            ],
            "sources": [
              "docs"
            ]
          },
          {
            "id": "utc",
            "label": "UTC timestamps",
            "type": "boolean",
            "option": [
              "--utc"
            ],
            "sources": [
              "docs"
            ]
          },
          {
            "id": "output",
            "label": "Output file",
            "type": "path",
            "option": [
              "--output",
              "-o"
            ],
            "path": {
              "kind": "file",
              "role": "output"
            },
            "effect": "overwrite",
            "sources": [
              "docs"
            ]
          }
        ],
        "task": [
          {
            "id": "full",
            "label": "Full status with relations and storage",
            "set": {
              "relations": [
                true
              ],
              "storage": [
                true
              ]
            },
            "fields": [
              "selector",
              "model",
              "relations",
              "storage"
            ],
            "required": []
          },
          {
            "id": "json",
            "label": "Status as JSON",
            "set": {
              "format": [
                "json"
              ]
            },
            "lock": [
              "format"
            ],
            "fields": [
              "selector",
              "model",
              "format",
              "output"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "selector",
              "model",
              "format",
              "relations",
              "storage"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "utc",
              "output"
            ]
          }
        ]
      }
    ]
  }
}
