Basic Tekton CLI commands

This section lists basic Tekton CLI commands. For a more detailed desciption, see Tekton Pipelines CLI.

Syntax

tkn [command or options] [arguments…​]

Global Options

--help, -h

Utility commands

tkn

Parent command for Tekton CLI.

tkn completion

Prints shell completion scripts.

tkn version

Prints version information.

Managing and running pipelines

tkn pipeline

Manages pipelines.

tkn pipeline describe

Describes a pipeline in a namespace.

tkn pipeline list

Lists pipelines in a namespace.

tkn pipeline logs

Shows pipeline logs.

tkn pipeline start

Starts pipelines.

tkn pipelinerun

Manages pipelineruns.

tkn pipelinerun describe

Describes a pipelinerun in a namespace.

tkn pipelinerun list

Lists pipelineruns in a namespace.

tkn pipelinerun logs

Shows pipelinerun logs.

Managing pipeline resources

tkn resource

Manages pipeline resources.

tkn resource describe

Describes a pipeline resource in a namespace.

tkn resource list

Lists pipeline resources in a namespace.

Managing and running tasks

tkn task

Manages tasks.

tkn task list

Lists tasks in a namespace.

tkn taskrun

Manages taskruns.

tkn taskrun list

Lists taskruns in a namespace.

tkn taskrun logs

Shows taskruns logs.

Managing clusters

tkn clustertask

Manages clustertasks.

tkn clustertask list

Lists clustertasks in a namespace.