I'm new to node.js and npm, so if you know a better way to call this script from the application perspective, please let me know.
To use the pushover-bash script with npm, there are a few changes/additions to the instructions in the README.
To install it via npm directly, run:
npm install @fr3nch13/pushover-bashOr add it to your package.json, then run composer update
{
"devDependencies": {
"@fr3nch13/pushover-bash":">=1.0"
}
}In addition to the default configuration file locations, you can also create the configuration file at the application root.
**Be sure to add it to your .gitignore file.
/pushover-configYou can call it through npm like so:
$npm exec pushover-bash -- [script args]
#examples
$npm exec pushover-bash -- -m Message