365 lines
11 KiB
Bash
Executable File
365 lines
11 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
#
|
|
set -e
|
|
|
|
help-table() {
|
|
local -a rows
|
|
local max_cmd=7 max_opt=6 max_desc=11
|
|
|
|
rows+=("Command|Option|Description")
|
|
rows+=("build-image|[output]|Build Docker image with buildx.")
|
|
rows+=("help|[grep]|Show help for commands.")
|
|
rows+=("init-zensical-docs||Initialize Zensical documentation build dependencies.")
|
|
rows+=("dev-zensical-docs||Run Zensical documentation development server.")
|
|
rows+=("build-zensical-docs||Build the Zensical documentation website.")
|
|
rows+=("serve-zensical-docs||Serve the Zensical documentation build folder.")
|
|
rows+=("clone-taskfile||Clone or pull the taskfile.build repo.")
|
|
rows+=("lint||Lint code with shellcheck.")
|
|
rows+=("run-container||Run Docker image.")
|
|
rows+=("set-git-origin||Change git origin to ssh." |