mirror of
https://github.com/binwiederhier/ntfy.git
synced 2025-07-20 10:04:08 +00:00
WIP CLI
This commit is contained in:
parent
5639cf7a0f
commit
f266afa1de
12 changed files with 209 additions and 74 deletions
18
client/client.yml
Normal file
18
client/client.yml
Normal file
|
@ -0,0 +1,18 @@
|
|||
# ntfy client config file
|
||||
|
||||
# Base URL used to expand short topic names in the "ntfy publish" and "ntfy subscribe" commands.
|
||||
# If you self-host a ntfy server, you'll likely want to change this.
|
||||
#
|
||||
# default-host: https://ntfy.sh
|
||||
|
||||
# Subscriptions to topics and their actions. This option is only used by the "ntfy subscribe --from-config"
|
||||
# command.
|
||||
#
|
||||
# Here's a (hopefully self-explanatory) example:
|
||||
# subscribe:
|
||||
# - topic: mytopic
|
||||
# exec: /usr/local/bin/mytopic-triggered.sh
|
||||
# - topic: myserver.com/anothertopic
|
||||
# exec: 'echo "$message"'
|
||||
#
|
||||
# subscribe:
|
Loading…
Add table
Add a link
Reference in a new issue