Add some eyecandy
This commit is contained in:
@@ -280,6 +280,32 @@ backup() {
|
||||
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
|
||||
# @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_DIR=$(dirname "$SCRIPT")
|
||||
|
||||
print_header
|
||||
|
||||
# Global directory variables
|
||||
declare -g TEMPLATES_DIR="$SCRIPT_DIR/templates"
|
||||
APPS_DIR="$SCRIPT_DIR/apps"
|
||||
|
||||
Reference in New Issue
Block a user