{
  "id": "doctl",
  "name": "doctl",
  "homepage": "https://docs.digitalocean.com/reference/doctl/",
  "description": "doctl is a command-line interface (CLI) for the DigitalOcean API.",
  "icon": "SimpleIcons:digitalocean",
  "executables": [
    "doctl"
  ],
  "dotfiles": {
    "paths": [
      "[appData]/doctl/config.yaml"
    ],
    "exclude": [],
    "secret": [],
    "side_effect": false,
    "secret_paths": [
      {
        "file": "[appData]/doctl/config.yaml",
        "match": {
          "key_path": [
            "access-token",
            "auth-contexts.*"
          ]
        }
      }
    ]
  },
  "commands": {
    "format": 1,
    "label": "DigitalOcean CLI",
    "description": "Read-only listings for apps, databases, projects and the account. The access-token option is left out; authenticate with doctl auth init.",
    "quality": "ai-draft",
    "base": "fig:doctl",
    "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/doctl.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "apps",
          "list"
        ],
        "label": "List apps",
        "description": "Lists App Platform apps.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/doctl.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "output",
            "label": "Output format",
            "type": "string",
            "option": [
              "--output",
              "-o"
            ],
            "suggestions": [
              {
                "value": "text",
                "label": "text"
              },
              {
                "value": "json",
                "label": "json"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "default",
            "label": "List apps",
            "fields": [
              "output"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "output"
            ]
          }
        ]
      },
      {
        "path": [
          "databases",
          "list"
        ],
        "label": "List database clusters",
        "description": "Lists managed database clusters.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/doctl.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "output",
            "label": "Output format",
            "type": "string",
            "option": [
              "--output",
              "-o"
            ],
            "suggestions": [
              {
                "value": "text",
                "label": "text"
              },
              {
                "value": "json",
                "label": "json"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "default",
            "label": "List database clusters",
            "fields": [
              "output"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "output"
            ]
          }
        ]
      },
      {
        "path": [
          "projects",
          "list"
        ],
        "label": "List projects",
        "description": "Lists projects.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/doctl.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "output",
            "label": "Output format",
            "type": "string",
            "option": [
              "--output",
              "-o"
            ],
            "suggestions": [
              {
                "value": "text",
                "label": "text"
              },
              {
                "value": "json",
                "label": "json"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "default",
            "label": "List projects",
            "fields": [
              "output"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "output"
            ]
          }
        ]
      },
      {
        "path": [
          "account",
          "get"
        ],
        "label": "Account details",
        "description": "Shows account profile details.",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/doctl.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "output",
            "label": "Output format",
            "type": "string",
            "option": [
              "--output",
              "-o"
            ],
            "suggestions": [
              {
                "value": "text",
                "label": "text"
              },
              {
                "value": "json",
                "label": "json"
              }
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "default",
            "label": "Account details",
            "fields": [
              "output"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "output"
            ]
          }
        ]
      }
    ]
  }
}
