feat(task): remove redundant separator prints and add separator before env group

This commit is contained in:
Janik von Rotz committed 2026-01-15 14:47:41 +01:00
1 parent bac6237517
commit e5f727e325
1 file changed
+3 -2
+3 -2
View File
@@ -22,12 +22,13 @@ help-table() {
local bold=$(tput bold 2>/dev/null || echo -e "\033[1m")
local reset=$(tput sgr0 2>/dev/null || echo -e "\033[0m")
local dashes=$(printf '%*s' $padding '')
print_separator
# print_separator
printf "| %s%s%s%s | %-${opt_width}s | %-${desc_width}s |\n" "$bold" "$group" "$reset" "$dashes" "" ""
print_separator
# print_separator
}
printf "$column" 'Command' 'Option' 'Description'
print_separator
print_group_header 'Env'
printf "$column" 'backup-env-files' '[path]' 'Archive and copy env files to target location.'
printf "$column" 'copy-env' '[env][env]' 'Copy env file.'