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
| Action | Description | Required flags |
|---|---|---|
list | List hooks | None |
get | Get hook | --id |
create | Create hook | --config |
update | Update hook | --id, --config |
delete | Delete hook | --id |
enable | Enable hook | --id |
disable | Disable hook | --id |
list
List hooks
codebolt hook list
This command takes no parameters.
get
Get hook
codebolt hook get --id <string>
| Name | Flag | Type | Required | Description |
|---|---|---|---|---|
id | --id | string | Yes | Identifier of the target resource. |
create
Create hook
codebolt hook create --config <json>
| Name | Flag | Type | Required | Description |
|---|---|---|---|---|
config | --config | json | Yes | Structured configuration object for the target operation. |
update
Update hook
codebolt hook update --id <string> --config <json>
| Name | Flag | Type | Required | Description |
|---|---|---|---|---|
id | --id | string | Yes | Identifier of the target resource. |
config | --config | json | Yes | Structured configuration object for the target operation. |
delete
Delete hook
codebolt hook delete --id <string>
| Name | Flag | Type | Required | Description |
|---|---|---|---|---|
id | --id | string | Yes | Identifier of the target resource. |
enable
Enable hook
codebolt hook enable --id <string>
| Name | Flag | Type | Required | Description |
|---|---|---|---|---|
id | --id | string | Yes | Identifier of the target resource. |
disable
Disable hook
codebolt hook disable --id <string>
| Name | Flag | Type | Required | Description |
|---|---|---|---|---|
id | --id | string | Yes | Identifier of the target resource. |