889 lines
27 KiB
Bash
Executable File
889 lines
27 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+=("===ENV===| | ")
|
|
rows+=("version||Show version of required tools.")
|
|
rows+=("info||Show info about env.")
|
|
rows+=("template-dotenv||Generate .env from .env.template.")
|
|
rows+=("export-kubeconfig|[user][path]|Export kubeconfig file for service account.")
|
|
rows+=("generate-kubconfig|[name]|Generate kubeconfig for deploymentUpdater.")
|
|
rows+=("load-kubeconfig-from-keepass|[ctx]|Load kubeconfig file from KeePass.")
|
|
rows+=("save-kubeconfig-to-keepass|[ctx]|Save kubeconfig file in KeePass.")
|
|
rows+=("===DOCS===| | ")
|
|
rows+=("install-vitepress||Install Node dependencies.")
|
|
rows+=("docs||Generate |