Skip to content

Commit

Permalink
Add confirmprompt field. Closes #22.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonHoughton committed Sep 21, 2016
1 parent 85234d1 commit 5140256
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions src/nlc/NLC.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"classes": [
{
"class": "openwhisk.help",
"description": "Help with OpenWisk",
"description": "Help with OpenWhisk",
"confirmprompt": "Would you like help with OpenWhisk (yes or no)?",
"emittarget": "openwhisk.help",
"texts": [
"Help with openwhisk.",
Expand All @@ -13,7 +14,8 @@
},
{
"class": "openwhisk.action.list",
"description": "List OpenWisk actions",
"description": "List OpenWhisk actions",
"confirmprompt": "Would you like to list the OpenWhisk actions (yes or no)?",
"emittarget": "openwhisk.action.list",
"texts": [
"Show my openwhisk actions",
Expand All @@ -23,7 +25,8 @@
},
{
"class": "openwhisk.action.invoke",
"description": "Invoke OpenWisk action",
"description": "Invoke OpenWhisk action",
"confirmprompt": "Would you like to invoke the ${action} OpenWhisk action (yes or no)?",
"emittarget": "openwhisk.action.invoke",
"texts": [
"Invoke openwhisk action",
Expand All @@ -43,7 +46,8 @@
},
{
"class": "openwhisk.namepace.list",
"description": "List OpenWisk namespaces",
"description": "List OpenWhisk namespaces",
"confirmprompt": "Would you like to list the OpenWhisk namespaces (yes or no)?",
"emittarget": "openwhisk.namespace.list",
"texts": [
"Show my openwhisk namespaces",
Expand All @@ -54,7 +58,8 @@
},
{
"class": "openwhisk.namespace.get",
"description": "Show current OpenWisk namespace",
"description": "Show current OpenWhisk namespace",
"confirmprompt": "Would you like to show the current OpenWhisk namespace (yes or no)?",
"emittarget": "openwhisk.namespace.get",
"texts": [
"What namespace am I in?",
Expand All @@ -66,7 +71,8 @@
},
{
"class": "openwhisk.namespace.set",
"description": "Change OpenWisk namespace",
"description": "Change OpenWhisk namespace",
"confirmprompt": "Would you like to change the OpenWhisk namespace to ${namespace} (yes or no)?",
"emittarget": "openwhisk.namespace.set",
"texts": [
"Set my namespace to",
Expand Down

0 comments on commit 5140256

Please sign in to comment.