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 #23. #24

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
14 changes: 14 additions & 0 deletions src/nlc/NLC.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
{
"class": "bluemix.cloudant.help",
"emittarget": "bluemix.cloudant.help",
"description": "Help with cloudant database management",
"confirmprompt": "Would you like help with cloudant databases (yes or no)?",
"texts": [
"I want help with cloudant databases.",
"Can you help me with cloudant?",
Expand All @@ -15,6 +17,8 @@
{
"class": "bluemix.cloudant.listdatabases",
"emittarget": "bluemix.cloudant.listdatabases",
"description": "List cloudant databases",
"confirmprompt": "Would you like to list the cloudant databases (yes or no)?",
"texts": [
"Show me the cloudant databases",
"Show me my databases.",
Expand All @@ -26,6 +30,8 @@
{
"class": "bluemix.cloudant.databaseinfo",
"emittarget": "bluemix.cloudant.databaseinfo",
"description": "Show cloudant database details",
"confirmprompt": "Would you like to see details for the ${databasename} cloudant database (yes or no)?",
"texts": [
"Show me details for my cloudant database",
"I'd like to see information for the database",
Expand All @@ -46,6 +52,8 @@
{
"class": "bluemix.cloudant.createdatabase",
"emittarget": "bluemix.cloudant.createdatabase",
"description": "Create cloudant database",
"confirmprompt": "Would you like to create the ${newdatabasename} cloudant database (yes or no)?",
"texts": [
"Create a new cloudant database",
"I'd like to make a cloudant database",
Expand All @@ -64,6 +72,8 @@
{
"class": "bluemix.cloudant.setpermissions",
"emittarget": "bluemix.cloudant.setpermissions",
"description": "Set cloudant database permissions",
"confirmprompt": "Would you like to set permissions on the ${databasename} cloudant database for the user ${username} (yes or no)?",
"texts": [
"Set permissions to my cloudant database",
"I need to grant a user access to my database",
Expand All @@ -89,6 +99,8 @@
{
"class": "bluemix.cloudant.listviews",
"emittarget": "bluemix.cloudant.listviews",
"description": "List cloudant database views",
"confirmprompt": "Would you like to list the views for the ${databasename} cloudant database (yes or no)?",
"texts": [
"Show me the cloudant database views",
"Show me my views.",
Expand All @@ -109,6 +121,8 @@
{
"class": "bluemix.cloudant.runview",
"emittarget": "bluemix.cloudant.runview",
"description": "Run cloudant database view",
"confirmprompt": "Would you like to run the ${viewname} view for the ${databasename} cloudant database (yes or no)?",
"texts": [
"Run a cloudant database view",
"I'd like to execute a view against my cloudant database",
Expand Down