Files
Odoo-Build/task
T
Janik von Rotz 9f691de373 feat(snippets): update task script formatting and add folder listing
- Fix typo in comment: "Upate" to "Update"
- Add blank lines between logical steps for improved readability
- Invoke `list-git-folder` after checking out the commit ref to display current folder state
2026-07-23 09:29:11 +02:00

3107 lines
100 KiB
Bash
Executable File

#!/bin/bash
cd "$(dirname "$0")" || exit
# Commands such as git pull return exit code if there are no changes
# set -e
if [[ -a ".env" ]]; then
source .env
fi
help-table() {
local -a rows
local max_cmd=7 max_opt=6 max_desc=11
rows+=("Command|Option|Description")
rows+=("===ENV===| | ")
rows+=("backup-env-files|[path]|Archive and copy ,env files to target location.")
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.")