Skip to main content

Tool CLI

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

create​

Create a new tool from a template

codebolt action tool create [options]

Arguments​

This command takes no positional arguments.

Options​

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

publish​

Publish a tool to the CodeBolt registry

codebolt action tool publish [options]

Arguments​

This command takes no positional arguments.

Options​

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

list​

List all published tools

codebolt action tool list

Arguments​

This command takes no positional arguments.

Options​

This command takes no options.