Use alias to define cntfy script publish cmd

main
trivernis 1 year ago
parent 45ecf8c376
commit 5621b4733c
Signed by: Trivernis
GPG Key ID: DFFFCC2C7A02DB45

13
cntfy

@ -32,15 +32,4 @@ def subcommands [] {
["publish"] ["publish"]
} }
# Publishes a message with certain properties alias `main publish` = cntfy publish
def `main publish` [
topic: string
message: string
--title: string
--priority: number
--tags: list<string>
--actions: list<any>
--icon: string
] {
cntfy publish $topic $message --title $title --priority $priority --tags $tags --actions $actions --icon $icon
}
Loading…
Cancel
Save