blob: 070ae403888727bfb34f76d7743c8947600f03e0 [file] [log] [blame]
_examples() {
args=("${COMP_WORDS[@]:1:$COMP_CWORD}")
local IFS=$'\n'
COMPREPLY=($(GO_FLAGS_COMPLETION=1 ${COMP_WORDS[0]} __complete -- "${args[@]}"))
return 1
}
complete -F _examples examples