allow command 'frappy cli'
This commit is contained in:
@@ -11,7 +11,9 @@ pathadd ~/frappy/bin
|
||||
|
||||
frappy() {
|
||||
if [[ -z "$1" ]]; then
|
||||
echo "Usage: frappy status|start|stop|restart"
|
||||
echo "Usage: frappy status|start|stop|restart|cli"
|
||||
elif [[ "$1" == "cli" ]]; then
|
||||
~/frappy/bin/frappy-cli
|
||||
else
|
||||
systemctl --user $1 frappy
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user