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

feat(prompt): Add the 'if-empty' value to prompt (closes #8) #9

Merged
merged 1 commit into from
May 5, 2018

Conversation

nanovazquez
Copy link
Owner

@nanovazquez nanovazquez commented May 5, 2018

This PR introduces a new functionality for the prompt option. Now, you can configure this value with the following settings:

  • always: to always prompt this option to the user (if interactive mode is enabled).
  • never to never prompt this option to the user in interactive mode.
  • if-empty: (default) to only prompt the option if there is no default value or if the value was not set via parameters.

BREAKING CHANGE
This feature breaks the contract of the prompt property, changing it from a boolean to a string.

@nanovazquez nanovazquez force-pushed the releases/2.0 branch 3 times, most recently from faa649c to 6571857 Compare May 5, 2018 20:48
BREAKING CHANGE: this feature breaks the contract of the prompt property, changing it from a boolean to a string.
@nanovazquez nanovazquez merged commit 2bf8ed6 into master May 5, 2018
@nanovazquez nanovazquez deleted the releases/2.0 branch May 5, 2018 21:00
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.

None yet

1 participant