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

fix: adding -p shortcut and description for default options #73

Merged
merged 1 commit into from
Mar 27, 2020

Conversation

kakhaUrigashvili
Copy link
Contributor

Adding -p shortcut to --profile flag
Adding description for debug and profile flags.
Description came from https://developer.amazon.com/en-US/docs/alexa/smapi/ask-cli-command-reference.html

@@ -7,7 +7,14 @@ const aliases = require('@src/commands/smapi/customizations/aliases.json');
const { apiToCommanderMap } = require('@src/commands/smapi/customizations/parameters-map');


const defaultOptions = ['profile', 'debug'];
const defaultOptions = [{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kakhaUrigashvili kakhaUrigashvili merged commit f50184a into develop Mar 27, 2020
@kakhaUrigashvili kakhaUrigashvili deleted the profile-flag-shortcut branch March 27, 2020 19:57
Comment on lines +12 to +17
description: "The ASK CLI profile to use. When you don't include this option, ASK CLI uses the default profile."
},
{
flags: '--debug',
description: 'When you include this option, ASK CLI shows debug messages in the output of the command.'
}];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

one minor request, could you rename all the ASK CLI to ask-cli?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is because ask-cli is the standard name for the application

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants