Skip to main content

Action Block CLI

Manage actionblock extensions

These commands manage CodeBolt extensions. Most of them create a temporary local server context through executeAction() before calling the extension endpoints.

Subcommands

SubcommandDescriptionArgsOptions
createCreate a new actionblock from a template07
publishPublish an actionblock to the CodeBolt registry02
listList all published actionblocks00

create

Create a new actionblock from a template

codebolt action actionblock create [options]

Arguments

This command takes no positional arguments.

Options

FlagsRequiredDescription
--name <name>NoName for the new actionblock
--path <path>NoTarget directory
--project <path>NoProject directory for server context
--template <name>NoTemplate to use
--id <id>NoUnique identifier
--description <text>NoDescription of the actionblock
--skip-installNoSkip npm install after creation

publish

Publish an actionblock to the CodeBolt registry

codebolt action actionblock publish [options]

Arguments

This command takes no positional arguments.

Options

FlagsRequiredDescription
--path <path>NoPath to actionblock directory
--project <path>NoProject directory for server context

list

List all published actionblocks

codebolt action actionblock list

Arguments

This command takes no positional arguments.

Options

This command takes no options.