Pipelines CLI (tkn) reference Red Hat OpenShift Pipelines 1.18 The tkn CLI reference for OpenShift Pipelines Red Hat OpenShift Documentation Team

Commands:
tar xvzf <file>
echo USDPATH
subscription-manager register
subscription-manager refresh
subscription-manager list --available --matches '*pipelines*'
subscription-manager attach --pool=<pool_id>
subscription-manager repos --enable="pipelines-1.18-for-rhel-8-x86_64-rpms"
subscription-manager repos --enable="pipelines-1.18-for-rhel-8-s390x-rpms"
subscription-manager repos --enable="pipelines-1.18-for-rhel-8-ppc64le-rpms"
subscription-manager repos --enable="pipelines-1.18-for-rhel-8-aarch64-rpms"
yum install openshift-pipelines-client
tkn version
C:\> path
echo USDPATH
tkn completion bash > tkn_bash_completion
sudo cp tkn_bash_completion /etc/bash_completion.d/
tkn
tkn completion bash
tkn version
tkn pipeline --help
tkn pipeline delete <pipeline_name> -n <namespace_name>
tkn pipeline describe <pipeline_name>
tkn pipeline list
tkn pipeline logs -f <pipeline_name>
tkn pipeline start <pipeline_name>
tkn pipelinerun -h
tkn pipelinerun cancel <pipeline_run_name> -n <namespace_name>
tkn pipelinerun delete <pipeline_run_name_1> <pipeline_run_name_2> -n <namespace_name>
tkn pipelinerun delete -n <namespace_name> --keep 5 1
tkn pipelinerun delete --all
tkn pipelinerun describe <pipeline_run_name> -n <namespace_name>
tkn pipelinerun list -n <namespace_name>
tkn pipelinerun logs <pipeline_run_name> -a -n <namespace_name>
tkn task -h
tkn task delete <task_name_1> <task_name_2> -n <namespace_name>
tkn task describe <task_name> -n <namespace_name>
tkn task list -n <namespace_name>
tkn task start <task_name> -s <service_account_name> -n <namespace_name>
tkn taskrun -h
tkn taskrun cancel <task_run_name> -n <namespace_name>
tkn taskrun delete <task_run_name_1> <task_run_name_2> -n <namespace_name>
tkn taskrun delete -n <namespace_name> --keep 5 1
tkn taskrun describe <task_run_name> -n <namespace_name>
tkn taskrun list -n <namespace_name>
tkn taskrun logs -f <task_run_name> -n <namespace_name>
tkn resource -h
tkn resource create -n myspace
tkn resource delete myresource -n myspace
tkn resource describe myresource -n myspace
tkn resource list -n myspace
tkn eventlistener -h
tkn eventlistener delete mylistener1 mylistener2 -n myspace
tkn eventlistener describe mylistener -n myspace
tkn eventlistener list -n myspace
tkn eventlistener logs mylistener -n myspace
tkn triggerbinding -h
tkn triggerbinding delete mybinding1 mybinding2 -n myspace
tkn triggerbinding describe mybinding -n myspace
tkn triggerbinding list -n myspace
tkn triggertemplate -h
tkn triggertemplate delete mytemplate1 mytemplate2 -n `myspace`
tkn triggertemplate describe mytemplate -n `myspace`
tkn triggertemplate list -n myspace
tkn clustertriggerbinding -h
tkn clustertriggerbinding delete myclusterbinding1 myclusterbinding2
tkn clustertriggerbinding describe myclusterbinding
tkn clustertriggerbinding list
tkn hub -h
tkn hub --api-server https://api.hub.tekton.dev
tkn hub downgrade task mytask --to version -n mynamespace
tkn hub get [pipeline | task] myresource --from tekton --version version
tkn hub info task mytask --from tekton --version version
tkn hub install task mytask --from tekton --version version -n mynamespace
tkn hub reinstall task mytask --from tekton --version version -n mynamespace
tkn hub search --tags cli
tkn hub upgrade task mytask --to version -n mynamespace