Skip to content

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

Merged
nanovazquez merged 1 commit into
masterfrom
releases/2.0
May 5, 2018
Merged

feat(prompt): Add the 'if-empty' value to prompt (closes #8)#9
nanovazquez merged 1 commit into
masterfrom
releases/2.0

Conversation

@nanovazquez

@nanovazquez nanovazquez commented May 5, 2018

Copy link
Copy Markdown
Owner

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.

1 participant