- Replace string-based DNS record identification with structured objects containing key, id, source, type, target, and ttl - Update DNS creation, update, and deletion logic to use the new composite key for matching records - Refine TTL update logic to only trigger when the desired TTL differs from the existing one - Remove `open-url-with-delay` calls in favor of `open-url` in `upgrade-odoo` and `task` scripts - Simplify URL opening logic by removing unnecessary delay arguments
887 lines
31 KiB
Bash
Executable File
887 lines
31 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 tool versions.")
|
|
rows+=("copy-dotenv|[env][env]|Copy .env file.")
|
|
rows+=("create-dotenv|[env][type]|Create .env file of type nextcloud, odoo, upgrade.")
|
|
rows+=("edit-dotenv|[env]|Open .env file in default editor.")
|
|
rows+=("list-dotenv||List .env files.")
|
|
rows+=("load-dotenv|[env]|Load and export .env file.")
|
|
rows+=("remove-dotenv|[env]|Remove environment config.")
|
|
rows+=("rename-dotenv|[env][env]|Rename .env file.")
|
|