Skip to main content

Hook 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 hook pseudo CLI module currently exposes 7 commands.

Related SDK docs: Hook

Commands At A Glance

ActionDescriptionRequired flags
listList hooksNone
getGet hook--id
createCreate hook--config
updateUpdate hook--id, --config
deleteDelete hook--id
enableEnable hook--id
disableDisable hook--id

list

List hooks

codebolt hook list

This command takes no parameters.

get

Get hook

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

create

Create hook

codebolt hook create --config <json>
NameFlagTypeRequiredDescription
config--configjsonYesStructured configuration object for the target operation.

update

Update hook

codebolt hook update --id <string> --config <json>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.
config--configjsonYesStructured configuration object for the target operation.

delete

Delete hook

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

enable

Enable hook

codebolt hook enable --id <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.

disable

Disable hook

codebolt hook disable --id <string>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.