add init to vitally scripts shorthand

This commit is contained in:
sloane 2024-03-15 14:09:30 -04:00
parent d1ada1816e
commit dc9b95dbb3
No known key found for this signature in database

View file

@ -1,8 +1,8 @@
function vitally
set cmd $argv[1]
set cmds start stop session-name
set cmds start stop session-name init
if not contains $cmd $cmds
echo "usage: vitally <CMD>; <CMD>: start, stop, session-name"
echo "usage: vitally <CMD>; <CMD>: start, stop, session-name, init"
else
eval "vitally-$cmd"
end