#send-notifications #client #command-line-tool #config-file #server #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

#2562 in Command line utilities

Download history 111/week @ 2024-02-13 184/week @ 2024-02-20 94/week @ 2024-02-27 4/week @ 2024-03-05 5/week @ 2024-03-12 1/week @ 2024-03-19 9/week @ 2024-04-02

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

~12–27MB
~423K SLoC