Skip to main content

Capability CLI

Manage capability 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 capability from a template07
publishPublish a capability to the CodeBolt registry02
listList all published capabilities00

create​

Create a new capability from a template

codebolt action capability create [options]

Arguments​

This command takes no positional arguments.

Options​

FlagsRequiredDescription
--name <name>NoName for the new capability
--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 capability
--skip-installNoSkip npm install after creation

publish​

Publish a capability to the CodeBolt registry

codebolt action capability publish [options]

Arguments​

This command takes no positional arguments.

Options​

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

list​

List all published capabilities

codebolt action capability list

Arguments​

This command takes no positional arguments.

Options​

This command takes no options.