Skip to main content

Swarm 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 swarm pseudo CLI module currently exposes 11 commands.

Related SDK docs: Swarm

Commands At A Glance

ActionDescriptionRequired flags
createCreate a swarm--data
listList swarmsNone
getGet swarm--id
agentsGet swarm agents--id
registerRegister agent in swarm--id, --data
unregisterUnregister agent from swarm--id, --agent
create-teamCreate team in swarm--id, --data
list-teamsList teams in swarm--id
create-roleCreate role in swarm--id, --data
list-rolesList roles in swarm--id
statusGet swarm status summary--id

create

Create a swarm

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

list

List swarms

codebolt swarm list

This command takes no parameters.

get

Get swarm

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

agents

Get swarm agents

codebolt swarm agents --id <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.

register

Register agent in swarm

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

unregister

Unregister agent from swarm

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

create-team

Create team in swarm

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

list-teams

List teams in swarm

codebolt swarm list-teams --id <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.

create-role

Create role in swarm

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

list-roles

List roles in swarm

codebolt swarm list-roles --id <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.

status

Get swarm status summary

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