#compdef gpg-tui

autoload -U is-at-least

_gpg-tui() {
    typeset -A opt_args
    typeset -a _arguments_options
    local ret=1

    if is-at-least 5.2; then
        _arguments_options=(-s -S -C)
    else
        _arguments_options=(-s -C)
    fi

    local context curcontext="$curcontext" state line
    _arguments "${_arguments_options[@]}" \
'--homedir=[Sets the GnuPG home directory]' \
'-o+[Sets the output directory]' \
'--outdir=[Sets the output directory]' \
'-d+[Sets the default key to sign with]' \
'--default-key=[Sets the default key to sign with]' \
'-t+[Sets the tick rate of the terminal]' \
'--tick-rate=[Sets the tick rate of the terminal]' \
'-c+[Sets the accent color of the terminal]' \
'--color=[Sets the accent color of the terminal]' \
'-s+[Sets the style of the terminal]: :(plain colored)' \
'--style=[Sets the style of the terminal]: :(plain colored)' \
'--select=[Enables the selection mode]: :(key_id key_fpr user_id row1 row2)' \
'-a[Enables ASCII armored output]' \
'--armor[Enables ASCII armored output]' \
'--splash[Shows the splash screen on startup]' \
'-h[Prints help information]' \
'--help[Prints help information]' \
'-V[Prints version information]' \
'--version[Prints version information]' \
&& ret=0
    
}

(( $+functions[_gpg-tui_commands] )) ||
_gpg-tui_commands() {
    local commands; commands=(
        
    )
    _describe -t commands 'gpg-tui commands' commands "$@"
}

_gpg-tui "$@"