blend/completions/blend
2023-01-19 23:37:31 +05:30

17 lines
534 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-containers' 'start-containers' 'sync' 'help' 'version' 'export' 'unexport' 'system-update' \
'--container-name=' '--distro=' '--noconfirm' '--version')
fi
COMPREPLY=($(compgen -W "${SUGGESTIONS[*]}" -- "${COMP_WORDS[$COMP_CWORD]}"))
}
complete -F _completions -- blend