You can use IFTTT to send yourself push notification from the command line.
- Open https://ifttt.com/my_applets and create a New Applet.
- For this select Maker Webhooks, with the event name “notification”.
- For that select Notifications, with the Notification text of only:
- Finish the applet
- Install IFTTT on your phone.
- Go into Maker Webhooks settings and open the URL listed under Account Info. You will find a nice testing page with examples for the command line.