notifml-cli
v0.1.1
Published
Tiny CLI for sending Notif WhatsApp, email, and scheduled messages from the terminal.
Readme
notifml-cli
Tiny terminal client for Notif.
Install
npm i -g notifml-cliFor local development:
npm linkSetup
notif init --key ntf_live_xxx --to +22370000000This creates ~/.notif/config.json.
Environment overrides:
export NOTIF_API_KEY=ntf_live_xxx
export NOTIF_TO=+22370000000Commands
notif me "Build failed on prod"
notif "Ship done"
notif send +22370000000 "Hello"
notif run -- npm run build
notif at "today 18:30" "Relancer le client"
notif me --at "in 10m" "Check deploy"
notif schedule "tomorrow 09:00" "Daily reminder"Developer account:
notif whoami
notif balance
notif balance --transactions
notif key
notif doctorAliases stay local to the CLI. They are intentionally not a Notif server-side Contacts feature.
notif alias set boss +22370000000
notif alias set ops +22370000000 --channel auto --email [email protected]
notif send boss "Check ASAP"
notif boss "Check ASAP"
notif alias listPipes:
tail -n 30 error.log | notif me --title "Prod error"Status and logs:
notif status ntf_msg_xxx
notif logs --limit 10