summaryrefslogtreecommitdiff
path: root/main.fish
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-08 20:59:13 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-08 20:59:13 +1000
commit82b2212e8552a73c069767af66024e87bfce7d63 (patch)
tree9b100d3b497b6d7b1d20b766a1da8087effe385e /main.fish
parentschemes: fix preexisting schemes (diff)
downloadcaelestia-cli-82b2212e8552a73c069767af66024e87bfce7d63.tar.gz
caelestia-cli-82b2212e8552a73c069767af66024e87bfce7d63.tar.bz2
caelestia-cli-82b2212e8552a73c069767af66024e87bfce7d63.zip
completions: add shell ipc commands
Also add shell help subcommand
Diffstat (limited to 'main.fish')
-rwxr-xr-xmain.fish5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.fish b/main.fish
index 6039254..2a1ea20 100755
--- a/main.fish
+++ b/main.fish
@@ -9,6 +9,11 @@ if test "$argv[1]" = shell
if test -z "$argv[2..]"
$C_DATA/shell/run.fish
else
+ if test "$argv[2]" = help
+ qs -p $C_DATA/shell ipc show
+ exit
+ end
+
if qs list --all | grep "Config path: $C_DATA/shell/shell.qml" &> /dev/null
qs -p $C_DATA/shell ipc call $argv[2..]
else