249 lines
6.7 KiB
Bash
Executable File
249 lines
6.7 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-11ty||Build the 11ty website.")
|
|
rows+=("build-image|[output]|Build Docker image with buildx.")
|
|
rows+=("dev-11ty||Run 11ty server.")
|
|
rows+=("help|[grep]|Show help for commands.")
|
|
rows+=("install||Install Node packages.")
|
|
rows+=("lint||Lint code with prettier.")
|
|
rows+=("run-container||Run Docker image.")
|
|
rows+=("run-tests||Test with shellcheck.")
|
|
rows+=("serve-11ty||Serve the 11ty output folder.")
|
|
rows+=("update-install-script||Upate install script.")
|
|
rows+=("set-git-origin||Change git origin to ssh." |