9 lines
185 B
Text
9 lines
185 B
Text
_examples() {
|
|
args=("${COMP_WORDS[@]:1:$COMP_CWORD}")
|
|
|
|
local IFS=$'\n'
|
|
COMPREPLY=($(GO_FLAGS_COMPLETION=1 ${COMP_WORDS[0]} "${args[@]}"))
|
|
return 1
|
|
}
|
|
|
|
complete -F _examples examples
|