-
Notifications
You must be signed in to change notification settings - Fork 322
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
Syntax sugar for notifier.notify #45
Comments
Good idea. This is something I do on |
Was this ever resolved? @rioc0719 @mikaelbr |
I was thinking we could try something like this. In @rioc0719 's pull request, he only states the message ( I'd send a pull request, but i'm afraid i'll break something. |
We don't need this to be included in the next release, so you can easily just do a PR and I'll review it for you. |
I'll give it a try and let you know. |
Added in #45. |
Instead of:
notifier.notify({message: 'Hi'})
I think we should be able to use:
notifier.notify('Hi')
.The title should be the default - 'Node Notification' or whatever it is on each system.
It's cleaner and gets the point across better. Just my thoughts.
The text was updated successfully, but these errors were encountered: