Luke Childs
5 years ago
1 changed files with 28 additions and 0 deletions
@ -0,0 +1,28 @@ |
|||
#!/usr/bin/env bash |
|||
set -euo pipefail |
|||
|
|||
show_help() { |
|||
cat << EOF |
|||
umbrel-dev 0.0.0 |
|||
|
|||
Automatically initialize and manage an Umbrel development environment. |
|||
|
|||
Usage: umbrel-dev <command> [options] |
|||
|
|||
Commands: |
|||
help Show this help message |
|||
init Initialize an Umbrel development environment in the working directory |
|||
up Boot the development VM |
|||
halt Halt the development VM |
|||
destroy Destroy the development VM |
|||
rebuild [<container>] Rebuild all or a specific container |
|||
ssh Get an SSH session inside the development VM |
|||
run <command> Run a command inside the development VM |
|||
EOF |
|||
} |
|||
|
|||
# Show help text if no args set or help is called |
|||
if [[ -z ${1+x} ]] || [[ "$1" = "help" ]]; then |
|||
show_help |
|||
exit 1 |
|||
fi |
Loading…
Reference in new issue