dx/dxkit/commands/runtime/list.command.sh

28 lines
451 B
Bash

#!/usr/bin/env bash
# commands/runtime/list.command.sh
function cmd::runtime::list::on_load() {
flag::register --debug
}
function cmd::runtime::list::run() {
flag::parse "$@" || { cmd::runtime::list::help; return 1; }
runtime::list
}
function cmd::runtime::list::help() {
cat <<EOF
Usage: dx list [flags]
Lists stack containers.
Aliases: ls, list-stack, list-containers
Flags:
--debug Shell trace
Examples:
dx list
dx ls
EOF
}