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

Stricter answer checking for init #5989

Closed
kelunik opened this issue Dec 22, 2016 · 2 comments
Closed

Stricter answer checking for init #5989

kelunik opened this issue Dec 22, 2016 · 2 comments
Labels
Milestone

Comments

@kelunik
Copy link

kelunik commented Dec 22, 2016

composer init currently doesn't enforce yes|y|no|n as an answer to bool questions like the one below. Somehow I wanted to directly search now multiple times, but that results in a no instead of asking again with a hint of valid answers.

Current

Would you like to define your dependencies (require) interactively [yes]? async-interop
Would you like to define your dev dependencies (require-dev) interactively [yes]? ^C

Expected

Would you like to define your dependencies (require) interactively [yes]? async-interop
Please answer yes, y, no, or n.
Would you like to define your dependencies (require) interactively [yes]?
@Seldaek Seldaek added the Bug label Dec 23, 2016
@Seldaek Seldaek added this to the Bugs milestone Dec 23, 2016
theotonge added a commit to theotonge/composer that referenced this issue Apr 3, 2017
Enforce yes/no answers for boolean questions during init command
theotonge added a commit to theotonge/composer that referenced this issue Apr 3, 2017
Enforce yes/no answers for boolean questions during init command
theotonge added a commit to theotonge/composer that referenced this issue Apr 7, 2017
Enforce yes/no answers for boolean questions during init command
theotonge added a commit to theotonge/composer that referenced this issue Apr 7, 2017
Enforce yes/no answers for boolean questions during init command
theotonge added a commit to theotonge/composer that referenced this issue Apr 7, 2017
Enforce yes/no answers for boolean questions during init command
theotonge added a commit to theotonge/composer that referenced this issue Apr 7, 2017
Enforce yes/no answers for boolean questions during init command
theotonge added a commit to theotonge/composer that referenced this issue Apr 9, 2017
Enforce yes/no answers for boolean questions during init command
theotonge added a commit to theotonge/composer that referenced this issue Apr 10, 2017
Enforce yes/no answers for Confirmation Questions
theotonge added a commit to theotonge/composer that referenced this issue Apr 10, 2017
Enforce yes/no answers for Confirmation Questions
theotonge added a commit to theotonge/composer that referenced this issue Apr 10, 2017
Enforce yes/no answers for Confirmation Questions
Seldaek added a commit that referenced this issue Apr 19, 2017
@tomzx
Copy link
Contributor

tomzx commented Dec 14, 2017

This appears to be fixed @ v1.5.5.

@Seldaek Can you please close this?

@Seldaek
Copy link
Member

Seldaek commented Dec 15, 2017

True that, thanks :)

@Seldaek Seldaek closed this as completed Dec 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants