Skip to main content

Context Rule Engine 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 rule-engine pseudo CLI module currently exposes 7 commands.

Related SDK docs: Context Rule Engine

Commands At A Glance

ActionDescriptionRequired flags
createCreate context rule engine--config
getGet context rule engine--id
listList context rule enginesNone
updateUpdate context rule engine--id, --updates
deleteDelete context rule engine--id
evaluateEvaluate rules--params
variablesGet possible variablesNone

create

Create context rule engine

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

get

Get context rule engine

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

list

List context rule engines

codebolt rule-engine list

This command takes no parameters.

update

Update context rule engine

codebolt rule-engine update --id <string> --updates <json>
NameFlagTypeRequiredDescription
id--idstringYesIdentifier of the target resource.
updates--updatesjsonYesValue for the updates parameter.

delete

Delete context rule engine

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

evaluate

Evaluate rules

codebolt rule-engine evaluate --params <json>
NameFlagTypeRequiredDescription
params--paramsjsonYesStructured JSON payload passed through to the underlying SDK method.

variables

Get possible variables

codebolt rule-engine variables

This command takes no parameters.