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 #51. #52

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
5 changes: 5 additions & 0 deletions src/nlc/NLC.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
{
"class": "objectstorage.container.details",
"description": "Show details about an object storage container",
"confirmprompt": "Would you like to see details for the ${containername} object storage container (yes or no)?",
"emittarget": "objectstorage.container.details",
"texts": [
"Give me details on an object storage container",
Expand All @@ -23,6 +24,7 @@
{
"class": "objectstorage.container.list",
"description": "List the object storage containers",
"confirmprompt": "Would you like to list the object storage containers (yes or no)?",
"emittarget": "objectstorage.container.list",
"texts": [
"List the object storage containers",
Expand All @@ -33,6 +35,7 @@
{
"class": "objectstorage.retrieve.object",
"description": "Retrieve an object from object storage container",
"confirmprompt": "Would you like to retrieve ${objectname} from the ${containername} object storage container (yes or no)?",
"emittarget": "objectstorage.retrieve.object",
"texts": [
"Retrieve my object from a container",
Expand All @@ -59,6 +62,7 @@
{
"class": "objectstorage.search.object",
"description": "Search for an object from object storage container",
"confirmprompt": "Would you like to search object storage for ${searchphrase} (yes or no)?",
"emittarget": "objectstorage.search.object",
"texts": [
"Search for an object in a container",
Expand All @@ -78,6 +82,7 @@
{
"class": "objectstorage.container.help",
"description": "Help with object storage",
"confirmprompt": "Would you like help with object storage (yes or no)?",
"emittarget": "objectstorage.container.help",
"texts": [
"I need help on the objectstorage command",
Expand Down