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 #31. #32

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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions src/nlc/NLC.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"class": "alerts.help",
"description": "Help with alerts for Bluemix applications",
"emittarget": "alerts.help",
"confirmprompt": "Would you like help with alerts for Bluemix applications (yes or no)?",
"texts": [
"Help with application alerts.",
"Can you help me with app alerts?",
Expand All @@ -18,6 +19,7 @@
"class": "bluemix.app.problems",
"description": "Show Bluemix applications with problems over a time period",
"emittarget": "bluemix.app.problems",
"confirmprompt": "Would you like to see the Bluemix applications with problems for ${timeframe} (yes or no)?",
"texts": [
"Show me this weeks problematic apps",
"What apps are showing problems today?",
Expand All @@ -37,6 +39,7 @@
"class": "bluemix.alerts.enable",
"description": "Enable alerts for Bluemix applications",
"emittarget": "bluemix.alerts.enable",
"confirmprompt": "Would you like to enable ${type} alerts for Bluemix applications (yes or no)?",
"texts": [
"start monitoring CPU",
"Watch application memory",
Expand All @@ -55,6 +58,7 @@
"class": "bluemix.alerts.disable",
"description": "Disable alerts for Bluemix applications",
"emittarget": "bluemix.alerts.disable",
"confirmprompt": "Would you like to disable ${type} alerts for Bluemix applications (yes or no)?",
"texts": [
"stop monitoring my apps",
"Disable application alerts",
Expand All @@ -73,6 +77,7 @@
"class": "bluemix.alerts.list",
"description": "Show active alerts for Bluemix apps",
"emittarget": "bluemix.alerts.list",
"confirmprompt": "Would you like to see the active alerts for Bluemix applications (yes or no)?",
"texts": [
"Show my active alerts",
"Display the application alerts",
Expand All @@ -83,6 +88,7 @@
"class": "bluemix.alerts.threshold",
"description": "Set alert threshold for Bluemix apps",
"emittarget": "bluemix.alerts.threshold",
"confirmprompt": "Would you like to set the ${thresholdType} alert threshold for Bluemix applications to ${threshold}% (yes or no)?",
"texts": [
"Set alert threshold to",
"Alter monitoring threshold",
Expand All @@ -105,6 +111,7 @@
"class": "bluemix.alerts.enableAndSet",
"description": "Enable and set alert threshold for Bluemix apps",
"emittarget": "bluemix.alerts.enableAndSet",
"confirmprompt": "Would you like to set and enable the ${thresholdType} alert threshold for Bluemix applications to ${threshold}% (yes or no)?",
"texts": [
"Monitor my app with threshold alerts of",
"Enable threshold alerts at",
Expand All @@ -127,6 +134,7 @@
"class": "bluemix.alerts.app.enable",
"description": "Enable alerts for Bluemix apps",
"emittarget": "bluemix.alerts.app.enable",
"confirmprompt": "Would you like to enable alerts for Bluemix applications (yes or no)?",
"texts": [
"start monitoring my apps",
"Enable application alerts",
Expand Down