Skip to content

CLI API for node-notifier as separate package.

Notifications You must be signed in to change notification settings

hrishikeshps/node-notifier-cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-notifier CLI

Separate package for node-notifier CLI.

Install

npm i [-g] node-notifier-cli

or try it out with npx

npx -p node-notifier-cli notify -t 'Hello' -m 'My message'

usage

notify -h
# notify
## Options

    * --help (alias -h)

    * --title (alias -t)
    * --subtitle (alias -st; not available on Windows OS)
    * --message (alias -m)
    * --icon (alias -i)
    * --sound (alias -s; use none to disable default sound notification)
    * --open (alias -o)
    * --port (alias -p)
    * --host
    * --failsafe (alias -x; time in milliseconds)

## Example

   $ notify -t "Hello" -m "My Message" -s --open http://github.com
   $ notify -t "Agent Coulson" --icon https://raw.githubusercontent.com/mikaelbr/node-notifier/master/example/coulson.jpg
   $ notify -m "My Message" -s Glass
   $ echo "My Message" | notify -t "Hello"

About

CLI API for node-notifier as separate package.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%