Skip to main content

Environment 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 env pseudo CLI module currently exposes 14 commands.

Commands At A Glance

ActionDescriptionRequired flags
listList environmentsNone
getGet environment--id
createCreate environment--data
updateUpdate environment--id, --data
deleteDelete environment--id
startStart environment--id
stopStop environment--id
restartRestart environment--id
statusGet environment status--id
statsGet environment statisticsNone
providersGet running providersNone
local-providersGet local providersNone
messageSend message to environment--id, --message
start-agentStart agent in environment--id, --task

list

List environments

codebolt env list

This command takes no parameters.

get

Get environment

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

create

Create environment

codebolt env create --data <json>
NameFlagTypeRequiredDescription
data--datajsonYesStructured JSON payload passed through to the underlying SDK method.

update

Update environment

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

delete

Delete environment

codebolt env delete --id <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.

start

Start environment

codebolt env start --id <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.

stop

Stop environment

codebolt env stop --id <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.

restart

Restart environment

codebolt env restart --id <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.

status

Get environment status

codebolt env status --id <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.

stats

Get environment statistics

codebolt env stats

This command takes no parameters.

providers

Get running providers

codebolt env providers

This command takes no parameters.

local-providers

Get local providers

codebolt env local-providers

This command takes no parameters.

message

Send message to environment

codebolt env message --id <string> --message <json>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.
message--messagejsonYesHuman-readable message text sent to the SDK method.

start-agent

Start agent in environment

codebolt env start-agent --id <string> --task <string> [--agent <string>]
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.
task--taskstringYesTask or prompt text for the target operation.
agent--agentstringNoAgent identifier used by the command.