Shell shortcut in piku cli.

This allows you to do `piku shell` and get a bash shell inside the app
on the remote server.
pull/192/head
Chris McCormick 2021-04-25 21:25:16 +08:00
rodzic 6488af0d53
commit 6e98ea5c51
1 zmienionych plików z 3 dodań i 0 usunięć

3
piku
Wyświetl plik

@ -44,6 +44,9 @@ else
apps|setup|setup:ssh)
ssh ${sshflags} "$server" "$@"
;;
shell)
ssh -t "$server" run "$app" bash
;;
*)
shift # remove cmd arg
ssh ${sshflags} "$server" "$cmd" "$app" "$@"