id = "vela"
name = "Vela CLI"
homepage = "https://go-vela.github.io/docs/"
description = "CLI for Vela, Target's official Pipeline Automation Framework."
icon = "https://go-vela.github.io/docs/img/vela.svg"
executables = ["vela"]
[dotfiles]
paths = ["~/.vela/config.yml"]
exclude = []
secret = []
side_effect = false
[[dotfiles.secret_paths]]
file = "~/.vela/config.yml"
match = { key_path = [
"api.token",
"api.access_token",
"api.refresh_token",
"compiler.github.token",
"compiler.github_token",
] }
[commands]
format = 1
label = "KubeVela"
description = "KubeVela CLI. Forms cover up and init."
quality = "ai-draft"
base = "fig:vela"
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/vela.ts"
license = "MIT"
[[commands.subcommand]]
path = ["up"]
label = "Deploy application"
description = "Deploy one application from a file or the current definition."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/vela.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "app"
label = "Application"
type = "string"
position = 0
sources = ["fig"]
[[commands.subcommand.field]]
id = "file"
label = "Appfile or URL"
type = "path"
option = ["--file", "-f"]
path = { kind = "file", role = "input" }
sources = ["fig"]
[[commands.subcommand.field]]
id = "env"
label = "Environment"
type = "string"
option = ["--env", "-e"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "namespace"
label = "Namespace"
type = "string"
option = ["--namespace", "-n"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "publish_version"
label = "Publish version"
type = "string"
option = ["--publish-version", "-v"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "revision"
label = "Revision"
type = "string"
option = ["--revision", "-r"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "up"
label = "Deploy from file"
fields = ["file", "env", "namespace"]
required = ["file"]
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["app", "file", "env", "namespace"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["publish_version", "revision"]
[[commands.subcommand]]
path = ["init"]
label = "Scaffold application"
description = "Create a vela application scaffold."
[[commands.subcommand.source]]
id = "fig"
kind = "completion"
url = "https://github.com/withfig/autocomplete/blob/master/src/vela.ts"
license = "MIT"
[[commands.subcommand.field]]
id = "env"
label = "Environment"
type = "string"
option = ["--env", "-e"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "namespace"
label = "Namespace"
type = "string"
option = ["--namespace", "-n"]
sources = ["fig"]
[[commands.subcommand.field]]
id = "render_only"
label = "Render only"
type = "boolean"
option = ["--render-only"]
sources = ["fig"]
[[commands.subcommand.task]]
id = "init"
label = "Scaffold"
set = { render_only = [true] }
fields = ["env", "namespace", "render_only"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["env", "namespace", "render_only"]