24 lines
355 B
Bash
24 lines
355 B
Bash
#!/usr/bin/env bash
|
|
# commands/docker/shell.command.sh
|
|
|
|
function cmd::docker::shell::on_load() {
|
|
flag::register --debug
|
|
}
|
|
|
|
function cmd::docker::shell::run() {
|
|
runtime::shell
|
|
}
|
|
|
|
function cmd::docker::shell::help() {
|
|
cat <<EOF
|
|
Usage: dx shell
|
|
|
|
Opens an interactive shell inside the app container.
|
|
|
|
Aliases: bash
|
|
|
|
Examples:
|
|
dx shell
|
|
dx bash
|
|
EOF
|
|
}
|