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
[[dotfiles.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 }
[[commands.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/doctl.ts"
license = "MIT"
[[commands.subcommand]]
path = ["apps", "list"]
label = "List apps"
description = "Lists App Platform apps."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/doctl.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "output"
label = "Output format"
type = "string"
option = ["--output", "-o"]
suggestions = [{ value = "text", label = "text" }, { value = "json", label = "json" }]
sources = ["fig"]
[[commands.subcommand.task]]
id = "default"
label = "List apps"
fields = ["output"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["output"]
[[commands.subcommand]]
path = ["databases", "list"]
label = "List database clusters"
description = "Lists managed database clusters."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/doctl.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "output"
label = "Output format"
type = "string"
option = ["--output", "-o"]
suggestions = [{ value = "text", label = "text" }, { value = "json", label = "json" }]
sources = ["fig"]
[[commands.subcommand.task]]
id = "default"
label = "List database clusters"
fields = ["output"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["output"]
[[commands.subcommand]]
path = ["projects", "list"]
label = "List projects"
description = "Lists projects."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/doctl.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "output"
label = "Output format"
type = "string"
option = ["--output", "-o"]
suggestions = [{ value = "text", label = "text" }, { value = "json", label = "json" }]
sources = ["fig"]
[[commands.subcommand.task]]
id = "default"
label = "List projects"
fields = ["output"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["output"]
[[commands.subcommand]]
path = ["account", "get"]
label = "Account details"
description = "Shows account profile details."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/doctl.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "output"
label = "Output format"
type = "string"
option = ["--output", "-o"]
suggestions = [{ value = "text", label = "text" }, { value = "json", label = "json" }]
sources = ["fig"]
[[commands.subcommand.task]]
id = "default"
label = "Account details"
fields = ["output"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["output"]