nanovazquez / yargs-interactive

Interactive support for yargs
MIT License
46 stars 9 forks source link

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

Closed nanovazquez closed 6 years ago

nanovazquez commented 6 years ago

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

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