This is a bash script that will allow you to send a Pushover message very easily from a script or terminal.
Just put the script somewhere, and call it this way:
> ./pushover <message> [title]
So, for example:
> ./pushover "This is a test message from my Raspberry Pi."
> ./pushover "This is another message." "Wow, dude, nice title"
@thanks
To use directly as a function
usage