CLI Reference
On this page
CLI Reference
This section covers the tkn pac command-line tool, which you use to install, configure, and manage Pipelines-as-Code resources directly from your terminal.
Pipelines-as-Code provides a CLI designed to work as a plug-in to the Tekton CLI (tkn). With tkn pac, you can:
bootstrap: Install and configure Pipelines-as-Code with a GitHub App.create/delete: Create or remove a Repository CR linked to your Git repository.generate: Scaffold a starter PipelineRun in your.tekton/directory.list: List Repository CRs and their current PipelineRun status.describe: View details of a Repository CR and its associated runs.logs: Stream the logs of a PipelineRun attached to a Repository CR.resolve: Process a PipelineRun locally as Pipelines-as-Code would on the server.webhook: Add or update webhook secrets for your Git provider.info: Display installation details and test globbing patterns.
Install the tkn-pac plugin
Install PAC and create a GitHub App
Create or remove a Repository CR
List Repository CRs and status
Details of a Repository and its runs
Scaffold a PipelineRun
Stream PipelineRun logs
Resolve a PipelineRun locally
Add or update webhook secrets
Installation details and globbing
Screenshot
