Skip to main content

Action Plan Pseudo CLI

Generated from packages/codeboltjs/src/tools/pseudo-cli/commands.ts. Edit the registry or rerun node scripts/generate-pseudo-cli-docs.js instead of updating this file by hand.

The actionplan pseudo CLI module currently exposes 8 commands.

Related SDK docs: Action Plan

Commands At A Glance

ActionDescriptionRequired flags
listList all action plansNone
getGet action plan detail--id
detailGet detailed action plan--id
createCreate an action plan--name
updateUpdate an action plan--id, --data
add-taskAdd task to action plan--id, --task
add-groupAdd group to action plan--id, --group
start-stepStart a task step--plan-id, --task-id

list

List all action plans

codebolt actionplan list

This command takes no parameters.

get

Get action plan detail

codebolt actionplan get --id <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.

detail

Get detailed action plan

codebolt actionplan detail --id <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.

create

Create an action plan

codebolt actionplan create --name <string> [--description <string>] [--agent-id <string>] [--agent-name <string>] [--status <string>] [--plan-id <string>]
NameFlagTypeRequiredDescription
name--namestringYesName of the target resource to create, update, or delete.
description--descriptionstringNoLonger description text for the resource.
agent-id--agent-idstringNoValue for the agent-id parameter.
agent-name--agent-namestringNoValue for the agent-name parameter.
status--statusstringNoStatus value to apply to the target resource.
plan-id--plan-idstringNoValue for the plan-id parameter.

update

Update an action plan

codebolt actionplan update --id <string> --data <json>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.
data--datajsonYesStructured JSON payload passed through to the underlying SDK method.

add-task

Add task to action plan

codebolt actionplan add-task --id <string> --task <json>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.
task--taskjsonYesTask or prompt text for the target operation.

add-group

Add group to action plan

codebolt actionplan add-group --id <string> --group <json>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.
group--groupjsonYesValue for the group parameter.

start-step

Start a task step

codebolt actionplan start-step --plan-id <string> --task-id <string>
NameFlagTypeRequiredDescription
plan-id--plan-idstringYesValue for the plan-id parameter.
task-id--task-idstringYesValue for the task-id parameter.