Skip to content

Commit

Permalink
Add confirmprompt field. Closes #19.
Browse files Browse the repository at this point in the history
  • Loading branch information
JonHoughton committed Sep 21, 2016
1 parent 271b3f3 commit 531b2ea
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/nlc/NLC.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"classes": [{
"class": "bluemix.container.help",
"description": "Help with Bluemix containers",
"confirmprompt": "Would you like help with Bluemix container management (yes or no)?",
"emittarget": "bluemix.container.help",
"texts": [
"Help with containers.",
Expand All @@ -13,6 +14,7 @@
}, {
"class": "bluemix.container.list",
"description" : "List Bluemix containers",
"confirmprompt": "Would you like to list the Bluemix containers (yes or no)?",
"emittarget": "bluemix.container.list",
"texts": [
"Show my containers",
Expand All @@ -27,6 +29,7 @@
}, {
"class": "bluemix.container.logs",
"description" : "Show logs for a Bluemix container",
"confirmprompt": "Would you like to see the logs for the ${containername} Bluemix container (yes or no)?",
"emittarget": "bluemix.container.logs",
"texts": [
"logs",
Expand All @@ -44,6 +47,7 @@
}, {
"class": "bluemix.container.remove",
"description" : "Remove a Bluemix container",
"confirmprompt": "Would you like to remove the ${containername} Bluemix container (yes or no)?",
"emittarget": "bluemix.container.remove",
"texts": [
"Remove container",
Expand All @@ -59,6 +63,7 @@
}, {
"class": "bluemix.container.start",
"description" : "Start a Bluemix container",
"confirmprompt": "Would you like to start the ${containername} Bluemix container (yes or no)?",
"emittarget": "bluemix.container.start",
"texts": [
"Start container",
Expand All @@ -77,6 +82,7 @@
}, {
"class": "bluemix.container.status",
"description" : "Show the status of a Bluemix container",
"confirmprompt": "Would you like to know the status of the ${containername} Bluemix container (yes or no)?",
"emittarget": "bluemix.container.status",
"texts": [
"Status of container",
Expand All @@ -93,6 +99,7 @@
}, {
"class": "bluemix.container.stop",
"description" : "Stop a Bluemix container",
"confirmprompt": "Would you like to stop the ${containername} Bluemix container (yes or no)?",
"emittarget": "bluemix.container.stop",
"texts": [
"Stop the container",
Expand All @@ -112,6 +119,7 @@
}, {
"class": "bluemix.containergroup.help",
"description" : "Help with Bluemix container group",
"confirmprompt": "Would you like help with Bluemix container group management (yes or no)?",
"emittarget": "bluemix.containergroup.help",
"texts": [
"Help with containergroups.",
Expand All @@ -121,6 +129,7 @@
}, {
"class": "bluemix.containergroup.list",
"description" : "List Bluemix container groups",
"confirmprompt": "Would you like to list the Bluemix container groups (yes or no)?",
"emittarget": "bluemix.containergroup.list",
"texts": [
"Show me my containergroups.",
Expand All @@ -134,6 +143,7 @@
}, {
"class": "bluemix.containergroup.remove",
"description" : "Remove a Bluemix container group",
"confirmprompt": "Would you like to remove the ${containergroupname} Bluemix container group (yes or no)?",
"emittarget": "bluemix.containergroup.remove",
"texts": [
"Remove containergroup",
Expand All @@ -149,6 +159,7 @@
}, {
"class": "bluemix.containergroup.scale",
"description" : "Scale a Bluemix container group",
"confirmprompt": "Would you like to scale the ${containergroupname} Bluemix container group to ${instances} instances (yes or no)?",
"emittarget": "bluemix.containergroup.scale",
"texts": [
"Scale containergroup to have instances",
Expand Down

0 comments on commit 531b2ea

Please sign in to comment.