id = "circleci"
name = "CircleCI CLI"
homepage = "https://cli.circleci.com/reference/"
description = "CircleCI's official command line tool, bringing CI runs, jobs, configuration and other CircleCI features to the terminal."
icon = "theSVG:circleci"
executables = ["circleci"]
[dotfiles]
paths = ["[configHome]/circleci/config.yml"]
exclude = ["[xdgData]/circleci/extensions/"]
secret = []
side_effect = false
[[dotfiles.secret_paths]]
file = "[configHome]/circleci/config.yml"
match = { key_path = ["token"] }
[[dotfiles.machine_lines]]
file = "[configHome]/circleci/config.yml"
match = { key_path = ["device_id"] }
[commands]
format = 1
label = "CircleCI CLI"
description = "Browse and validate orbs. Config, contexts, policies, runners and local execution are left out."
quality = "ai-draft"
base = "fig:circleci"
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/circleci.ts"
license = "MIT"
[[commands.subcommand]]
path = ["orb", "list"]
label = "List orbs"
description = "List orbs in a namespace."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/circleci.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "namespace"
label = "Namespace"
description = "Namespace of the orbs, e.g. circleci."
type = "string"
position = 0
sources = ["fig"]
[[commands.subcommand.field]]
id = "sort"
label = "Sort by"
description = "Specify the sorting."
type = "string"
option = ["--sort"]
suggestions = [{ value = "builds", label = "builds" }, { value = "projects", label = "projects" }, { value = "orgs", label = "orgs" }]
sources = ["fig"]
[[commands.subcommand.field]]
id = "uncertified"
label = "Include uncertified"
description = "Include uncertified orbs."
type = "boolean"
option = ["--uncertified", "-u"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "private"
label = "Private only"
description = "Orbs for private use within your org, unlisted from the public registry."
type = "boolean"
option = ["--private"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "popular"
label = "Most used orbs"
set = { sort = ["builds"] }
fields = ["namespace", "sort"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["namespace", "sort", "uncertified"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["private"]
[[commands.subcommand]]
path = ["orb", "info"]
label = "Orb info"
description = "Show metadata of an orb."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/circleci.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "orb"
label = "Orb"
description = "namespace/orb, e.g. circleci/node."
type = "string"
position = 0
min = 1
sources = ["fig"]
[[commands.subcommand.task]]
id = "info"
label = "Show metadata"
fields = ["orb"]
required = ["orb"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["orb"]
[[commands.subcommand]]
path = ["orb", "validate"]
label = "Validate an orb"
description = "Validate an orb.yml."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/circleci.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "path"
label = "Orb file"
description = "Path to the orb.yml."
type = "path"
position = 0
min = 1
path = { kind = "file", role = "input", must_exist = true }
sources = ["fig"]
[[commands.subcommand.task]]
id = "validate"
label = "Validate"
fields = ["path"]
required = ["path"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["path"]