2 # complete -F _parser_options dummy_command
9 curr_arg=${COMP_WORDS[COMP_CWORD]}
11 # remove the command name, only keep args
12 words=( "${COMP_WORDS[@]}" )
15 IFS=$'\n' read -d '' -r -a COMPREPLY <<- EOF
16 $(./build/parse-yaml --complete -i examples/yaml/test.yaml -o pipo -- "${words[@]}")