initial commit
This commit is contained in:
commit
4d3cf1552e
10 changed files with 577 additions and 0 deletions
16
completions/blend
Executable file
16
completions/blend
Executable file
|
@ -0,0 +1,16 @@
|
|||
#/usr/bin/env bash
|
||||
|
||||
set +e
|
||||
|
||||
_completions() {
|
||||
SUGGESTIONS=()
|
||||
|
||||
if [[ "$COMP_CWORD" == 1 ]]; then
|
||||
SUGGESTIONS=('install' 'remove' 'update' 'show' 'search' 'enter' 'create-container' 'remove-container' \
|
||||
'list-container' 'start-containers' 'sync' 'help' 'version' )
|
||||
fi
|
||||
|
||||
COMPREPLY=($(compgen -W "${SUGGESTIONS[*]}" "${COMP_WORDS[$COMP_CWORD]}"))
|
||||
}
|
||||
|
||||
complete -F _completions -- blend
|
Loading…
Add table
Add a link
Reference in a new issue