id = "tkn" name = "Tekton CLI" description = "Command-line interface for Tekton Pipelines." executables = ["tkn"] [commands] format = 1 label = "Tekton" description = "List and inspect PipelineRuns and Tasks. Creation, deletion, hub and chains commands are left out." quality = "ai-draft" base = "fig:tkn" 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/tkn.ts" license = "MIT" [[commands.subcommand]] path = ["pr", "ls"] label = "List PipelineRuns" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/tkn.ts" license = "MIT" [[commands.subcommand.field]] id = "namespace" label = "Namespace" type = "string" option = ["--namespace", "-n"] sources = ["fig"] [[commands.subcommand.field]] id = "all_namespaces" label = "All namespaces" type = "boolean" option = ["--all-namespaces", "-A"] sources = ["fig"] [[commands.subcommand.field]] id = "label" label = "Label selector" type = "string" option = ["--label"] sources = ["fig"] [[commands.subcommand.field]] id = "limit" label = "Limit" type = "integer" option = ["--limit"] sources = ["fig"] [[commands.subcommand.field]] id = "output" label = "Output format" type = "string" option = ["--output", "-o"] suggestions = [{ value = "json", label = "JSON" }, { value = "yaml", label = "YAML" }, { value = "name", label = "Name" }] sources = ["fig"] [[commands.subcommand.field]] id = "reverse" label = "Reverse order" type = "boolean" option = ["--reverse"] sources = ["fig"] [[commands.subcommand.field]] id = "no_headers" label = "No headers" type = "boolean" option = ["--no-headers"] sources = ["fig"] [[commands.subcommand.task]] id = "list" label = "List in namespace" fields = ["namespace", "limit"] required = [] [[commands.subcommand.task]] id = "list_all" label = "List in all namespaces" fields = ["all_namespaces", "limit"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["namespace", "all_namespaces", "limit"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["label", "output", "reverse", "no_headers"] [[commands.subcommand]] path = ["pr", "logs"] label = "PipelineRun logs" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/tkn.ts" license = "MIT" [[commands.subcommand.field]] id = "namespace" label = "Namespace" type = "string" option = ["--namespace", "-n"] sources = ["fig"] [[commands.subcommand.field]] id = "follow" label = "Follow" type = "boolean" option = ["--follow", "-f"] sources = ["fig"] [[commands.subcommand.field]] id = "last" label = "Last PipelineRun" type = "boolean" option = ["--last", "-L"] sources = ["fig"] [[commands.subcommand.field]] id = "all" label = "Include init steps" type = "boolean" option = ["--all", "-a"] sources = ["fig"] [[commands.subcommand.field]] id = "task" label = "Tasks" type = "string" option = ["--task", "-t"] multiple = true sources = ["fig"] [[commands.subcommand.field]] id = "prefix" label = "Prefix lines" type = "boolean" option = ["--prefix"] sources = ["fig"] [[commands.subcommand.field]] id = "timestamps" label = "Timestamps" type = "boolean" option = ["--timestamps"] sources = ["fig"] [[commands.subcommand.task]] id = "last" label = "Follow the last run" fields = ["namespace", "last", "follow"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["namespace", "last", "follow", "task"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["all", "prefix", "timestamps"] [[commands.subcommand]] path = ["t", "ls"] label = "List Tasks" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/tkn.ts" license = "MIT" [[commands.subcommand.field]] id = "namespace" label = "Namespace" type = "string" option = ["--namespace", "-n"] sources = ["fig"] [[commands.subcommand.field]] id = "all_namespaces" label = "All namespaces" type = "boolean" option = ["--all-namespaces", "-A"] sources = ["fig"] [[commands.subcommand.field]] id = "output" label = "Output format" type = "string" option = ["--output", "-o"] suggestions = [{ value = "json", label = "JSON" }, { value = "yaml", label = "YAML" }, { value = "name", label = "Name" }] sources = ["fig"] [[commands.subcommand.field]] id = "no_headers" label = "No headers" type = "boolean" option = ["--no-headers"] sources = ["fig"] [[commands.subcommand.task]] id = "list" label = "List in namespace" fields = ["namespace"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["namespace", "all_namespaces"] [[commands.subcommand.group]] id = "advanced" label = "Advanced" fields = ["output", "no_headers"]