blend/completions/blend
2023-01-18 23:17:47 +05:30

16 lines
No EOL
424 B
Text
Executable file

#/usr/bin/env bash
set +e
_completions() {
SUGGESTIONS=()
if [[ "$COMP_CWORD" == 1 ]]; then
SUGGESTIONS=('install' 'remove' 'update' 'show' 'search' 'enter' 'create-container' 'remove-container' \
'install-de' 'list-container' 'start-containers' 'sync' 'help' 'version' )
fi
COMPREPLY=($(compgen -W "${SUGGESTIONS[*]}" "${COMP_WORDS[$COMP_CWORD]}"))
}
complete -F _completions -- blend