#compdef signstar-configure-build

autoload -U is-at-least

_signstar-configure-build() {
    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[@]}" : \
'-c+[The path to a custom configuration file]:CONFIG:_default' \
'--config=[The path to a custom configuration file]:CONFIG:_default' \
'-v[Return the name and version of the application]' \
'--version[Return the name and version of the application]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
}

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

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