#compdef karabooth-cli
# Generated by karabooth-cli completion zsh.
_karabooth_cli_complete() {
    local reply
    local -a candidates
    reply=$(command karabooth-cli __complete "${(@)words[2,CURRENT-1]}" "@cursor=${words[CURRENT]}" 2>/dev/null) || return 0
    case "$reply" in
        @file|@file=*)
            if [[ "$reply" == *=* ]]; then compset -P "${reply#*=}"; fi
            _files ;;
        @directory|@directory=*)
            if [[ "$reply" == *=* ]]; then compset -P "${reply#*=}"; fi
            _files -/ ;;
        "") return 0 ;;
        *) candidates=("${(@f)reply}"); compadd -a candidates ;;
    esac
}
if [[ "${funcstack[1]}" == _karabooth-cli ]]; then
    _karabooth_cli_complete "$@"
elif (( $+functions[compdef] )); then
    compdef _karabooth_cli_complete karabooth-cli
fi
