trigger

nim trigger

work with triggers

nim trigger create TRIGGERNAME

Create a trigger

Create a trigger
USAGE
$ nim trigger create TRIGGERNAME
ARGUMENTS
TRIGGERNAME The name of the trigger
OPTIONS
-A, --annotation-file=annotation-file FILE containing annotation values in JSON format
-P, --param-file=param-file FILE containing parameter values in JSON format
-a, --annotation=annotation annotation values in KEY VALUE format
-f, --feed=feed trigger feed ACTION_NAME
-i, --insecure bypass certificate check
-p, --param=param parameter values in KEY VALUE format
-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/trigger/create.ts

nim trigger delete TRIGGERPATH

Delete a Trigger

Delete a Trigger
USAGE
$ nim trigger delete TRIGGERPATH
ARGUMENTS
TRIGGERPATH The name of the trigger, in the format /NAMESPACE/NAME
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
--key=key client key
--version Show version

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

nim trigger fire TRIGGERNAME

Fire a Trigger

Fire a Trigger
USAGE
$ nim trigger fire TRIGGERNAME
ARGUMENTS
TRIGGERNAME The name of the trigger
OPTIONS
-P, --param-file=param-file FILE containing parameter values in JSON format
-i, --insecure bypass certificate check
-p, --param=param parameter values in KEY VALUE format
-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/trigger/fire.ts

nim trigger get TRIGGERPATH

Get a Trigger

Get a Trigger
USAGE
$ nim trigger get TRIGGERPATH
ARGUMENTS
TRIGGERPATH The name/path of the trigger, in the format /NAMESPACE/NAME
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/trigger/get.ts

nim trigger list

Lists all of your Triggers

Lists all of your Triggers
USAGE
$ nim trigger list
OPTIONS
-c, --count show only the total number of triggers
-i, --insecure bypass certificate check
-l, --limit=limit [default: 30] only return LIMIT number of triggers from the collection (default 30)
-n, --name sort results by name
-s, --skip=skip exclude the first SKIP number of triggers from the result
-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/trigger/list.ts

nim trigger update TRIGGERNAME

Update or create a Trigger

Update or create a Trigger
USAGE
$ nim trigger update TRIGGERNAME
ARGUMENTS
TRIGGERNAME The name of the trigger
OPTIONS
-A, --annotation-file=annotation-file FILE containing annotation values in JSON format
-P, --param-file=param-file FILE containing parameter values in JSON format
-a, --annotation=annotation annotation values in KEY VALUE format
-i, --insecure bypass certificate check
-p, --param=param parameter values in KEY VALUE format
-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/trigger/update.ts