run-cli -> run, fix help formatting
This commit is contained in:
1 parent
2563581f49
commit
3e9e6127a7
1 file changed
+3
-3
@@ -5,7 +5,7 @@ set -e; case "$1" in
|
|||||||
docker logs $CONTAINER | tail -n 100
|
docker logs $CONTAINER | tail -n 100
|
||||||
;;
|
;;
|
||||||
|
|
||||||
run-cli)
|
run)
|
||||||
if [[ -z $2 ]]; then
|
if [[ -z $2 ]]; then
|
||||||
echo "Please specify an app to run the command on"
|
echo "Please specify an app to run the command on"
|
||||||
exit 1
|
exit 1
|
||||||
@@ -16,13 +16,13 @@ set -e; case "$1" in
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
shift 2
|
shift 2
|
||||||
docker run $IMAGE /run-cli "$@"
|
docker run $IMAGE /exec "$@"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
help)
|
help)
|
||||||
cat && cat<<EOF
|
cat && cat<<EOF
|
||||||
logs <app> Show the last logs for an application
|
logs <app> Show the last logs for an application
|
||||||
run-cli <app> <cmd> Run a command in the environment of an application
|
run <app> <cmd> Run a command in the environment of an application
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user