aboutsummaryrefslogtreecommitdiffstats
path: root/src/completion
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/completion11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/completion b/src/completion
new file mode 100644
index 0000000..45637e5
--- /dev/null
+++ b/src/completion
@@ -0,0 +1,11 @@
+(slack
+ (default (arg VERB_INTERVAL_OR_COMMAND) (files -r) (suggest cmd)
+ (desc 'Specify which command to run'))
+
+ (unargumented (options --fatal)
+ (complete --fatal)
+ (desc 'Fail if the timer slack cannot be set'))
+
+ (suggestion cmd (verbatim get GET reset INTERVAL COMMAND))
+)
+