We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Is your feature request related to a problem? Please describe. It's kinda frustating to have to put a isCancel after each prompt.
Describe the solution you'd like Somewhere I can define a onCancel, that always like exits the process for example.
Describe alternatives you've considered Have an onCancel prop on each prompt, so that if you Ctrl + C it auto executes the function on the prop
The text was updated successfully, but these errors were encountered:
Closed in #46, which will be released soon!
Sorry, something went wrong.
Released in https://github.com/natemoo-re/clack/releases/tag/%40clack%2Fprompts%400.4.0
onCancel
cancel
No branches or pull requests
Is your feature request related to a problem? Please describe.
It's kinda frustating to have to put a isCancel after each prompt.
Describe the solution you'd like
Somewhere I can define a onCancel, that always like exits the process for example.
Describe alternatives you've considered
Have an onCancel prop on each prompt, so that if you Ctrl + C it auto executes the function on the prop
The text was updated successfully, but these errors were encountered: