#compdef signstar-sign

autoload -U is-at-least

_signstar-sign() {
    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[@]}" : \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
}

(( $+functions[_signstar-sign_commands] )) ||
_signstar-sign_commands() {
    local commands; commands=()
    _describe -t commands 'signstar-sign commands' commands "$@"
}

if [ "$funcstack[1]" = "_signstar-sign" ]; then
    _signstar-sign "$@"
else
    compdef _signstar-sign signstar-sign
fi
