id = "skaffold"
name = "Skaffold"
homepage = "https://skaffold.dev/"
description = "A command-line tool that facilitates continuous development for container-based applications."
executables = ["skaffold"]
[dotfiles]
paths = ["~/.skaffold/config"]
secret = []
side_effect = false
[commands]
format = 1
label = "Skaffold"
description = "Run or develop a Skaffold pipeline. Build, deploy, render and debug have their own commands, not in this form."
quality = "ai-draft"
parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false }
[[commands.subcommand]]
path = ["dev"]
label = "Develop (watch loop)"
description = "Build and deploy on every change, with cleanup on exit."
[[commands.subcommand.source]]
id = "skaffold-cli"
kind = "manual"
url = "https://skaffold.dev/docs/references/cli/"
revision = "skaffold docs reference"
evidence = '''skaffold dev
Run a pipeline in development mode
--cleanup=true:
Delete deployments after dev or debug mode is interrupted
-f, --filename='skaffold.yaml':
Path or URL to the Skaffold config file
--kube-context='':
-m, --module=[]:
-n, --namespace='':
--no-prune=false:
--port-forward=user:
Port-forward exposes service ports and container ports within pods and other resources (off, user, services, debug, pods)
-p, --profile=[]:
-t, --tag='':'''
[[commands.subcommand.field]]
id = "filename"
label = "Config file or URL"
type = "string"
option = ["--filename", "-f"]
sources = ["skaffold-cli"]
[[commands.subcommand.field]]
id = "profile"
label = "Profiles"
type = "string"
option = ["--profile", "-p"]
multiple = true
sources = ["skaffold-cli"]
[[commands.subcommand.field]]
id = "namespace"
label = "Namespace"
type = "string"
option = ["--namespace", "-n"]
sources = ["skaffold-cli"]
[[commands.subcommand.field]]
id = "module"
label = "Modules"
type = "string"
option = ["--module", "-m"]
multiple = true
sources = ["skaffold-cli"]
[[commands.subcommand.field]]
id = "kube_context"
label = "Kubernetes context"
type = "string"
option = ["--kube-context"]
sources = ["skaffold-cli"]
[[commands.subcommand.field]]
id = "port_forward"
label = "Port forwarding"
type = "enum"
option = ["--port-forward"]
choices = [{ value = "off", label = "off" }, { value = "user", label = "user" }, { value = "services", label = "services" }, { value = "debug", label = "debug" }, { value = "pods", label = "pods" }]
sources = ["skaffold-cli"]
[[commands.subcommand.field]]
id = "tag"
label = "Image tag"
type = "string"
option = ["--tag", "-t"]
sources = ["skaffold-cli"]
[[commands.subcommand.field]]
id = "no_prune"
label = "Keep built images on exit"
type = "boolean"
option = ["--no-prune"]
sources = ["skaffold-cli"]
[[commands.subcommand.task]]
id = "dev"
label = "Dev loop with port forwarding"
set = { port_forward = ["user"] }
fields = ["profile", "namespace", "port_forward"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["filename", "profile", "namespace", "port_forward"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["module", "kube_context", "tag", "no_prune"]
[[commands.subcommand]]
path = ["run"]
label = "Run once"
description = "Build, test and deploy once."
[[commands.subcommand.source]]
id = "skaffold-cli"
kind = "manual"
url = "https://skaffold.dev/docs/references/cli/"
revision = "skaffold docs reference"
evidence = '''skaffold run
Run a pipeline
skaffold run --tail
-f, --filename='skaffold.yaml':
--kube-context='':
-m, --module=[]:
-n, --namespace='':
--port-forward=off:
Port-forward exposes service ports and container ports within pods and other resources (off, user, services, debug, pods)
-p, --profile=[]:
-t, --tag='':
--tail=false:
Stream logs from deployed objects'''
[[commands.subcommand.field]]
id = "filename"
label = "Config file or URL"
type = "string"
option = ["--filename", "-f"]
sources = ["skaffold-cli"]
[[commands.subcommand.field]]
id = "profile"
label = "Profiles"
type = "string"
option = ["--profile", "-p"]
multiple = true
sources = ["skaffold-cli"]
[[commands.subcommand.field]]
id = "namespace"
label = "Namespace"
type = "string"
option = ["--namespace", "-n"]
sources = ["skaffold-cli"]
[[commands.subcommand.field]]
id = "module"
label = "Modules"
type = "string"
option = ["--module", "-m"]
multiple = true
sources = ["skaffold-cli"]
[[commands.subcommand.field]]
id = "kube_context"
label = "Kubernetes context"
type = "string"
option = ["--kube-context"]
sources = ["skaffold-cli"]
[[commands.subcommand.field]]
id = "port_forward"
label = "Port forwarding"
type = "enum"
option = ["--port-forward"]
choices = [{ value = "off", label = "off" }, { value = "user", label = "user" }, { value = "services", label = "services" }, { value = "debug", label = "debug" }, { value = "pods", label = "pods" }]
sources = ["skaffold-cli"]
[[commands.subcommand.field]]
id = "tag"
label = "Image tag"
type = "string"
option = ["--tag", "-t"]
sources = ["skaffold-cli"]
[[commands.subcommand.field]]
id = "tail"
label = "Stream logs"
type = "boolean"
option = ["--tail"]
sources = ["skaffold-cli"]
[[commands.subcommand.task]]
id = "run"
label = "Deploy and tail logs"
set = { tail = [true] }
fields = ["profile", "namespace", "tail"]
required = []
[[commands.subcommand.group]]
id = "basic"
label = "Basic"
fields = ["filename", "profile", "namespace", "tail", "port_forward"]
[[commands.subcommand.group]]
id = "advanced"
label = "Advanced"
fields = ["module", "kube_context", "tag"]