5 releases

0.4.1 Mar 12, 2024
0.4.0 Mar 12, 2024
0.3.2 Mar 3, 2024
0.3.1 Mar 1, 2024
0.3.0 Mar 1, 2024

#1258 in Command line utilities

Download history 251/week @ 2024-02-26 65/week @ 2024-03-04 323/week @ 2024-03-11 1/week @ 2024-03-18 19/week @ 2024-04-01

347 downloads per month

MIT license

17KB
94 lines

pass-it-on-cli

MIT licensed

A command line tool to send notifications to a pass-it-on server

Usage

By providing path to a valid pass-it-on client configuration file one of more messages can be sent with the provided notification name.

pass-it-on-cli -c path/to/client/configuration/file -n my_notification_name -m "message 1" -m "A second message"

Client Configuration Example

[client]
key = "sdfsf4633ghf44dfhdfhQdhdfhewaasg"

[[client.interface]]
type = "pipe"
path = '/path/to/pipe.fifo'
group_read_permission = true
group_write_permission = true

[[client.interface]]
type = "http"
host = "192.168.1.2"
port = 8080

Dependencies

~12–28MB
~469K SLoC