--- a/bash-completion.sh Sun Apr 18 10:53:28 2021 +0200
+++ b/bash-completion.sh Sun Apr 18 18:20:09 2021 +0200
@@ -28,13 +28,21 @@
"boolean"
)
+ READ_TYPES=(
+ "auto"
+ "true"
+ "false"
+ )
+
if [[ "$w1" == "--relation" && "x$w0" == "x" ]]; then COMPREPLY=("''")
elif [[ "$w1" == "--attribute" && "x$w0" == "x" ]]; then COMPREPLY=("''")
elif [[ "$w2" == "--attribute" ]]; then COMPREPLY=($(compgen -W "${DATA_TYPE[*]}" -- "$w0"))
+ elif [[ "$w1" == "--read-types" ]]; then COMPREPLY=($(compgen -W "${READ_TYPES[*]}" -- "$w0"))
else
OPTIONS=(
"--relation"
"--attribute"
+ "--read-types"
)
COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0"))
fi