1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-10-16 06:17:34 +00:00

Add completions for ntfy

This commit is contained in:
Steffo 2024-09-26 06:36:46 +02:00
parent c01879e6f3
commit 9e98f56151
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

24
completions/ntfy.fish Normal file
View file

@ -0,0 +1,24 @@
complete \
--command='ntfy' \
--short-option="d" \
--long-option="topic" \
--description="Set topic"
complete \
--command='ntfy' \
--short-option="t" \
--long-option="title" \
--description="Set title"
complete \
--command='ntfy' \
--short-option="p" \
--long-option="priority" \
--description="Set priority" \
--arguments='urgent high default low min'
complete \
--command='ntfy' \
--short-option="x" \
--long-option="tag" \
--description="Add tag"