notif is minimal command line tool to send message to Notification Center on OSX.
$ wget https://github.com/hiroara/notif/raw/master/dist/notif -O /usr/local/bin/notif && chmod u+x /usr/local/bin/notif
$ notif -t "my title" -s "my subtitle" -S Glass send to my notification center!
That's all. Enjoy!