rule

nim rule

work with rules

nim rule create NAME TRIGGER ACTION

Create a Rule

Create a Rule
USAGE
$ nim rule create NAME TRIGGER ACTION
ARGUMENTS
NAME Name of the rule
TRIGGER Name of the trigger
ACTION Name of the action
OPTIONS
-i, --insecure bypass certificate check
-u, --auth=auth whisk auth
-v, --verbose Verbose output
--apihost=apihost whisk API host
--apiversion=apiversion whisk API version
--cert=cert client cert
--debug=debug Debug level output
--help Show help
--json output raw json
--key=key client key
--version Show version

See code: src/commands/rule/create.ts

nim rule delete NAME

Delete a Rule

Delete a Rule
USAGE
$ nim rule delete NAME
ARGUMENTS
NAME Name of the rule
OPTIONS
-f, --force Just do it, omitting confirmatory prompt
-i, --insecure bypass certificate check
-u, --auth=auth whisk auth
-v, --verbose Verbose output
--apihost=apihost whisk API host
--apiversion=apiversion whisk API version
--cert=cert client cert
--debug=debug Debug level output
--help Show help
--json output raw json
--key=key client key
--version Show version

See code: src/commands/rule/delete.ts

nim rule disable NAME

Disable a Rule

Disable a Rule
USAGE
$ nim rule disable NAME
ARGUMENTS
NAME Name of the rule
OPTIONS
-i, --insecure bypass certificate check
-u, --auth=auth whisk auth
-v, --verbose Verbose output
--apihost=apihost whisk API host
--apiversion=apiversion whisk API version
--cert=cert client cert
--debug=debug Debug level output
--help Show help
--key=key client key
--version Show version

See code: src/commands/rule/disable.ts

nim rule enable NAME

Enable a Rule

Enable a Rule
USAGE
$ nim rule enable NAME
ARGUMENTS
NAME Name of the rule
OPTIONS
-i, --insecure bypass certificate check
-u, --auth=auth whisk auth
-v, --verbose Verbose output
--apihost=apihost whisk API host
--apiversion=apiversion whisk API version
--cert=cert client cert
--debug=debug Debug level output
--help Show help
--key=key client key
--version Show version

See code: src/commands/rule/enable.ts

nim rule get NAME

Retrieves a Rule

Retrieves a Rule
USAGE
$ nim rule get NAME
ARGUMENTS
NAME Name of the rule
OPTIONS
-i, --insecure bypass certificate check
-u, --auth=auth whisk auth
-v, --verbose Verbose output
--apihost=apihost whisk API host
--apiversion=apiversion whisk API version
--cert=cert client cert
--debug=debug Debug level output
--help Show help
--key=key client key
--version Show version

See code: src/commands/rule/get.ts

nim rule list

Retrieves a list of Rules

Retrieves a list of Rules
USAGE
$ nim rule list
OPTIONS
-c, --count show only the total number of rules
-i, --insecure bypass certificate check
-l, --limit=limit [default: 30] Limit number of rules returned. Default 30
-n, --name sort results by name
-s, --skip=skip Skip number of rules returned
-u, --auth=auth whisk auth
-v, --verbose Verbose output
--apihost=apihost whisk API host
--apiversion=apiversion whisk API version
--cert=cert client cert
--debug=debug Debug level output
--help Show help
--json output raw json
--key=key client key
--name-sort sort results by name
--version Show version

See code: src/commands/rule/list.ts

nim rule status NAME

Gets the status of a rule

Gets the status of a rule
USAGE
$ nim rule status NAME
ARGUMENTS
NAME Name of the rule
OPTIONS
-i, --insecure bypass certificate check
-u, --auth=auth whisk auth
-v, --verbose Verbose output
--apihost=apihost whisk API host
--apiversion=apiversion whisk API version
--cert=cert client cert
--debug=debug Debug level output
--help Show help
--key=key client key
--version Show version

See code: src/commands/rule/status.ts

nim rule update NAME TRIGGER ACTION

Update a Rule

Update a Rule
USAGE
$ nim rule update NAME TRIGGER ACTION
ARGUMENTS
NAME Name of the rule
TRIGGER Name of the trigger
ACTION Name of the action
OPTIONS
-i, --insecure bypass certificate check
-u, --auth=auth whisk auth
-v, --verbose Verbose output
--apihost=apihost whisk API host
--apiversion=apiversion whisk API version
--cert=cert client cert
--debug=debug Debug level output
--help Show help
--json output raw json
--key=key client key
--version Show version

See code: src/commands/rule/update.ts