Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add confirmprompt field. Closes #19. #20

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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