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

Change all booleans to choices #125

Open
xhluca opened this issue Apr 23, 2021 · 0 comments
Open

Change all booleans to choices #125

xhluca opened this issue Apr 23, 2021 · 0 comments

Comments

@xhluca
Copy link

xhluca commented Apr 23, 2021

Atm publish_on_npm and install_dependencies are booleans. However, I haven't had a great experience with booleans since we would need to check many cases (such as "true", "True", "t", "T") and can also be missed with typos.

I feel having a choice like:

Select publish_on_npm:
1 - True
2 - False
Choose from 1, 2 [1]:

although doesn't look as nice, would ensure that only one of the possible options are a chosen

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

No branches or pull requests

1 participant