equal
deleted
inserted
replaced
33 elif [[ "$w1" == "--output-attribute" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
33 elif [[ "$w1" == "--output-attribute" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
34 elif [[ "$w2" == "--output-attribute" ]]; then COMPREPLY=($(compgen -W "${DATA_TYPE[*]}" -- "$w0")) |
34 elif [[ "$w2" == "--output-attribute" ]]; then COMPREPLY=($(compgen -W "${DATA_TYPE[*]}" -- "$w0")) |
35 elif [[ "$w1" == "--define" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
35 elif [[ "$w1" == "--define" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
36 elif [[ "$w2" == "--define" ]]; then COMPREPLY=($(compgen -W "${DATA_TYPE[*]}" -- "$w0")) |
36 elif [[ "$w2" == "--define" ]]; then COMPREPLY=($(compgen -W "${DATA_TYPE[*]}" -- "$w0")) |
37 elif [[ "$w3" == "--define" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
37 elif [[ "$w3" == "--define" && "x$w0" == "x" ]]; then COMPREPLY=("''") |
38 elif [[ "$w1" == "--for-each" && "x$w0" == "x" ]]; then COMPREPLY=("'1'") |
38 elif [[ "$w1" == "--for-each" && "x$w0" == "x" ]]; then COMPREPLY=("'(a == \"abc\") { a = \"X\"; record(); }'") |
|
39 elif [[ "$w1" == "--where" && "x$w0" == "x" ]]; then COMPREPLY=("'a == \"abc\" || b = 123'") |
39 else |
40 else |
40 OPTIONS=( |
41 OPTIONS=( |
41 "--relation" |
42 "--relation" |
42 "--output-attribute" |
43 "--output-attribute" |
43 "--input-attributes-append" |
44 "--input-attributes-append" |
44 "--input-attributes-prepend" |
45 "--input-attributes-prepend" |
45 "--debug-variable-mapping" |
46 "--debug-variable-mapping" |
46 "--before-records" |
47 "--before-records" |
47 "--after-records" |
48 "--after-records" |
48 "--for-each" |
49 "--for-each" |
|
50 "--where" |
49 "--drop" |
51 "--drop" |
50 "--define" |
52 "--define" |
51 ) |
53 ) |
52 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
54 COMPREPLY=($(compgen -W "${OPTIONS[*]}" -- "$w0")) |
53 fi |
55 fi |