22 lines
565 B
Bash
Executable File
22 lines
565 B
Bash
Executable File
#!/usr/bin/env bash
|
|
[[ " help " == *" $1 "* ]] || exit "$DOKKU_NOT_IMPLEMENTED_EXIT"
|
|
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
|
|
|
case "$1" in
|
|
help)
|
|
cat<<EOF
|
|
ls, Pretty listing of deployed applications and containers
|
|
run <app> <cmd>, Run a command in the environment of an application
|
|
trace [on/off], Enable dokku tracing
|
|
url <app>, Show the first URL for an application (compatibility)
|
|
urls <app>, Show all URLs for an application
|
|
version, Print dokku's version
|
|
EOF
|
|
;;
|
|
|
|
*)
|
|
exit "$DOKKU_NOT_IMPLEMENTED_EXIT"
|
|
;;
|
|
|
|
esac
|