You can use IFTTT to send yourself push notification from the command line.

  1. Open and create a New Applet.
  2. For this select Maker Webhooks, with the event name “notification”.
  3. For that select Notifications, with the Notification text of only: {{Value1}}
  4. Finish the applet
  5. Install IFTTT on your phone.
  6. 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.

Maker Test Page