Squashed 'third_party/src/github.com/codegangsta/cli/' content from commit f7ebb76

git-subtree-dir: third_party/src/github.com/codegangsta/cli
git-subtree-split: f7ebb761e83e21225d1d8954fde853bf8edd46c4
This commit is contained in:
Frederick F. Kautz IV
2014-11-02 14:54:31 -05:00
commit 2cd9d9073e
17 changed files with 2945 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#! /bin/bash
_cli_bash_autocomplete() {
local cur prev opts base
COMPREPLY=()
cur="${COMP_WORDS[COMP_CWORD]}"
prev="${COMP_WORDS[COMP_CWORD-1]}"
opts=$( ${COMP_WORDS[@]:0:$COMP_CWORD} --generate-bash-completion )
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) )
return 0
}
complete -F _cli_bash_autocomplete $PROG