Skip to main content

Job 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 job pseudo CLI module currently exposes 13 commands.

Related SDK docs: Job

Commands At A Glance​

ActionDescriptionRequired flags
createCreate a job--group, --data
getGet job details--id
updateUpdate a job--id, --data
deleteDelete a job--id
listList jobsNone
group-createCreate a job group--data
add-depAdd job dependency--id, --target
remove-depRemove job dependency--id, --target
readyGet ready jobsNone
blockedGet blocked jobsNone
lockLock a job--id, --agent
unlockUnlock a job--id, --agent
bidAdd a bid to a job--id, --data

create​

Create a job

codebolt job create --group <string> --data <json>
NameFlagTypeRequiredDescription
group--groupstringYesValue for the group parameter.
data--datajsonYesStructured JSON payload passed through to the underlying SDK method.

get​

Get job details

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

update​

Update a job

codebolt job 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 a job

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

list​

List jobs

codebolt job list [--filters <json>]
NameFlagTypeRequiredDescription
filters--filtersjsonNoValue for the filters parameter.

group-create​

Create a job group

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

add-dep​

Add job dependency

codebolt job add-dep --id <string> --target <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.
target--targetstringYesValue for the target parameter.

remove-dep​

Remove job dependency

codebolt job remove-dep --id <string> --target <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.
target--targetstringYesValue for the target parameter.

ready​

Get ready jobs

codebolt job ready

This command takes no parameters.

blocked​

Get blocked jobs

codebolt job blocked

This command takes no parameters.

lock​

Lock a job

codebolt job lock --id <string> --agent <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.
agent--agentstringYesAgent identifier used by the command.

unlock​

Unlock a job

codebolt job unlock --id <string> --agent <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.
agent--agentstringYesAgent identifier used by the command.

bid​

Add a bid to a job

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