From d8791e119028815f3b645bebeeb35a01eb3f8020 Mon Sep 17 00:00:00 2001 From: Jon Houghton Date: Wed, 21 Sep 2016 08:45:39 -0400 Subject: [PATCH] Add confirmprompt field. Closes #31. --- src/nlc/NLC.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/nlc/NLC.json b/src/nlc/NLC.json index 7451e99..f3c01ea 100644 --- a/src/nlc/NLC.json +++ b/src/nlc/NLC.json @@ -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?", @@ -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?", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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", @@ -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",