Add some eyecandy
This commit is contained in:
@@ -280,6 +280,32 @@ backup() {
|
|||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# @description Prints a helpful message add program start
|
||||||
|
print_header() {
|
||||||
|
debug "Running: ${FUNCNAME[0]}"
|
||||||
|
|
||||||
|
cat <<-'EOF'
|
||||||
|
_ _ _ _ _
|
||||||
|
| | | | | | | | | |
|
||||||
|
| |__| | __ _ _ __| |_ _ __ ___ __ _ _ __ | | __ _| |__
|
||||||
|
| __ |/ _` | `__| __| `_ ` _ \ / _` | `_ \ | | / _` | `_ \
|
||||||
|
| | | | (_| | | | |_| | | | | | (_| | | | | | |___| (_| | |_) |
|
||||||
|
|_| |_|\__,_|_| \__|_| |_| |_|\__,_|_| |_| |______\__,_|_.__/
|
||||||
|
___ _ _ _____ ____ ____
|
||||||
|
/ _ \| | | |_ _/ ___| _ \
|
||||||
|
| | | | |_| | | || | | |_) |
|
||||||
|
| |_| | _ | | || |___| __/
|
||||||
|
\__\_|_| |_| |_| \____|_|
|
||||||
|
EOF
|
||||||
|
|
||||||
|
cat <<-EOF
|
||||||
|
Available modules: ${ALL_MODULES[*]}
|
||||||
|
Available submodules: ${ALL_SUBMODULES[*]}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
# @section Modules
|
# @section Modules
|
||||||
# @description A module contains a cohesive set of actions/experiments to run on a project
|
# @description A module contains a cohesive set of actions/experiments to run on a project
|
||||||
@@ -1476,6 +1502,8 @@ main() {
|
|||||||
SCRIPT=$(realpath -s "${BASH_SOURCE[0]}")
|
SCRIPT=$(realpath -s "${BASH_SOURCE[0]}")
|
||||||
SCRIPT_DIR=$(dirname "$SCRIPT")
|
SCRIPT_DIR=$(dirname "$SCRIPT")
|
||||||
|
|
||||||
|
print_header
|
||||||
|
|
||||||
# Global directory variables
|
# Global directory variables
|
||||||
declare -g TEMPLATES_DIR="$SCRIPT_DIR/templates"
|
declare -g TEMPLATES_DIR="$SCRIPT_DIR/templates"
|
||||||
APPS_DIR="$SCRIPT_DIR/apps"
|
APPS_DIR="$SCRIPT_DIR/apps"
|
||||||
|
|||||||
Reference in New Issue
Block a user