#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

#2354 in Command line utilities

50 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–26MB
~424K SLoC