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

prompt: Skip optional fields on empty submit #46

Closed
marionebl opened this issue Jul 11, 2017 · 3 comments · Fixed by #2697
Closed

prompt: Skip optional fields on empty submit #46

marionebl opened this issue Jul 11, 2017 · 3 comments · Fixed by #2697

Comments

@marionebl
Copy link
Contributor

From @fahrradflucht

It would be great if one wouldn't have to write :skip every time to submit optional fields. I think submitting an empty input field should be enough to skip a section.

@marionebl
Copy link
Contributor Author

This is tied to the current implementation of @commitlint/prompt using vorpal - I could not find a way to do this.

I'm leaning towards reimplementing @commitlint/prompt with something like vadimdemedes/ink at some point, will address this then.

@lostintangent
Copy link

Huge +1! I’m really loving commitlint, but this proposal would definitely improve he usability of prompt, as a replacement for commitizen.

@danielo515
Copy link

I'm on the same situation as @lostintangent
I was using commitizen, but I find commitlint far superior, but it is much less agile than commitizen, which allows you to skip an optional parameter with just an enter keystroke.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment