#send-notifications #command-line-tool #client #server-client #config-file #message #pass-it-on

app pio-command-line-client

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

4 releases

0.2.1 Feb 26, 2024
0.2.0 Feb 18, 2024
0.1.1 Nov 18, 2023
0.1.0 Oct 14, 2023

#16 in #send-notifications

Download history 13/week @ 2024-09-21 1/week @ 2024-09-28

108 downloads per month

MIT license

15KB
74 lines

pio-command-line-client

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.

pio-command-line-client -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

~13–25MB
~392K SLoC