Running commands¶
Note
The documentation for opentf-ctl
has been split into multiple sections. You can
find links below to the new locations of the original sections. You may want to
update your bookmarks accordingly.
Basic commands¶
get workflows
List active and recent workflowsrun workflow {filename}
Start a workflowget workflow {workflow_id}
Get a workflow statuskill workflow {workflow_id}
Cancel a running workflow
Agent Commands¶
get agents
List registered agentsdelete agent {agent_id}
De-register an agent
Channel Commands¶
get channels
List known channels
Quality Gate Commands¶
get qualitygate {workflow_id}
Get quality gate status for a workflowdescribe qualitygate {workflow_id}
Get description of a quality gate status for a workflow
Attachment Commands¶
get attachments {workflow_id}
List workflow attachmentscp {workflow_id}:{...} {destination}
Copy a workflow attachment or workflow attachments to the local destinationgenerate report {workflow_id} using {file}
Generate an Insight Collector report for a workflow
Data Sources Commands¶
get datasource {workflow_id}
Get workflow data sources
Token Commands¶
generate token using {key}
Interactively generate a signed tokencheck token {token} using {key}
Check if token signature matches public keyview token {token}
Show token payload
Advanced Commands¶
get namespaces
List accessible namespacesget subscriptions
List active subscriptionsdelete subscription {subscription_id}
Cancel an active subscription