282 lines
8.1 KiB
Bash
Executable File
282 lines
8.1 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
if [[ -a ".env" ]]; then
|
|
export $(cat .env | sed 's/^#.*//g' | xargs)
|
|
fi
|
|
|
|
help() {
|
|
echo
|
|
echo "task <command> [options]"
|
|
echo
|
|
echo "commands:"
|
|
echo
|
|
|
|
local -a rows
|
|
local max_cmd=7 max_opt=6 max_desc=11
|
|
|
|
rows+=("Command|Option|Description")
|
|
rows+=("install-vuepress||Install build dependencies.")
|
|
rows+=("update-vuepres||Update build dependencies.")
|
|
rows+=("dev-vuepress||Start vuepress development server.")
|
|
rows+=("build-vuep |