feat(task): remove redundant separator prints and add separator before env group
This commit is contained in:
1 file changed
+3
-2
@@ -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.'
|
||||
|
||||
Reference in new issue
Block a user