-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add possibility to set program.on("close") event or event for all commands #1158
Comments
There isn't currently a generic event after any command runs. How about checking for the notification after calling
|
Thanks, I'll try that and give feedback. |
@shadowspawn Wow, it works! 🎉 if (!process.argv.slice(2).length) {
cmder.help();
} |
|
This was a specific case which might have been resolved, and no recent activity. Closing in favour of #1197. Feel free to open a new issue if it comes up again, with new information and renewed interest. Thank you for your contributions. |
@shadowspawn Thanks for your help! It was a great experience. 🙂 👍 |
I continue in our discussion in closed PR here: #996
My intent is to display a notification about the new package version in CLI at the end of each run of any command.
I have prepared my intended implementation here: DXHeroes/dx-scanner#232 (review) (the PR is invalid)
The text was updated successfully, but these errors were encountered: