--- a/bash-completion.sh Mon Jun 20 00:15:08 2022 +0200
+++ b/bash-completion.sh Mon Jun 20 00:55:56 2022 +0200
@@ -27,16 +27,34 @@
"false"
)
+ TABLE_STYLES=(
+ "rounded"
+ "sharp"
+ "sharp-double"
+ "horizontal-only"
+ "ascii"
+ )
+
+ COLOR_SCHEMES=(
+ "green-screen"
+ "monochrome"
+ "midnight"
+ )
+
if [[ "$w1" == "--relation" && "x$w0" == "x" ]]; then COMPREPLY=("'.+'")
elif [[ "$w1" == "--write-types" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
elif [[ "$w1" == "--write-relation-name" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
elif [[ "$w1" == "--write-record-count" ]]; then COMPREPLY=($(compgen -W "${BOOLEAN_VALUES[*]}" -- "$w0"))
+ elif [[ "$w1" == "--table-style" ]]; then COMPREPLY=($(compgen -W "${TABLE_STYLES[*]}" -- "$w0"))
+ elif [[ "$w1" == "--color-scheme" ]]; then COMPREPLY=($(compgen -W "${COLOR_SCHEMES[*]}" -- "$w0"))
else
OPTIONS=(
"--relation"
"--write-types"
"--write-relation-name"
"--write-record-count"
+ "--table-style"
+ "--color-scheme"
)
COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0"))
fi