From 9e98f56151a27f7b6050d61160b54432c46ace84 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Thu, 26 Sep 2024 06:36:46 +0200 Subject: [PATCH] Add completions for ntfy --- completions/ntfy.fish | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 completions/ntfy.fish diff --git a/completions/ntfy.fish b/completions/ntfy.fish new file mode 100644 index 0000000..d64c557 --- /dev/null +++ b/completions/ntfy.fish @@ -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"