#compdef berg

autoload -U is-at-least

_berg() {
    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[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_berg_commands" \
"*::: :->codeberg-cli" \
&& ret=0
    case $state in
    (codeberg-cli)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-command-$line[1]:"
        case $line[1] in
            (api)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__api_commands" \
"*::: :->api" \
&& ret=0

    case $state in
    (api)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-api-command-$line[1]:"
        case $line[1] in
            (version)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__api__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-api-help-command-$line[1]:"
        case $line[1] in
            (version)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(auth)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__auth_commands" \
"*::: :->auth" \
&& ret=0

    case $state in
    (auth)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-auth-command-$line[1]:"
        case $line[1] in
            (login)
_arguments "${_arguments_options[@]}" : \
'-t+[Access Token]:TOKEN:_default' \
'--token=[Access Token]:TOKEN:_default' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(logout)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'-s[flag that skips the confirmation dialog if set]' \
'--skip-confirmation[flag that skips the confirmation dialog if set]' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__auth__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-auth-help-command-$line[1]:"
        case $line[1] in
            (login)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(logout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(config)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__config_commands" \
"*::: :->config" \
&& ret=0

    case $state in
    (config)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-config-command-$line[1]:"
        case $line[1] in
            (info)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(generate)
_arguments "${_arguments_options[@]}" : \
'-l+[Specify location at which default config should be dumped]:LOCATION:(global local stdout)' \
'--location=[Specify location at which default config should be dumped]:LOCATION:(global local stdout)' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'-r[Specifies whether overwriting already existing configs is allowed]' \
'--replace[Specifies whether overwriting already existing configs is allowed]' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__config__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-config-help-command-$line[1]:"
        case $line[1] in
            (info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(generate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(user)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__user_commands" \
"*::: :->user" \
&& ret=0

    case $state in
    (user)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-user-command-$line[1]:"
        case $line[1] in
            (info)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__user__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-user-help-command-$line[1]:"
        case $line[1] in
            (info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(issue)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__issue_commands" \
"*::: :->issue" \
&& ret=0

    case $state in
    (issue)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-issue-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'-s+[Filter by state]:STATE:(closed open all)' \
'--state=[Filter by state]:STATE:(closed open all)' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
'-t+[Title or summary]:TITLE:_default' \
'--title=[Title or summary]:TITLE:_default' \
'*-l+[Comma-delimited list of label ids]:LABEL,...:_default' \
'*--labels=[Comma-delimited list of label ids]:LABEL,...:_default' \
'-d+[Main description of issue]:description:_default' \
'--description=[Main description of issue]:description:_default' \
'*-a+[Comma-delimited list of assignee names]:ASSIGNEE,...:_default' \
'*--assignees=[Comma-delimited list of assignee names]:ASSIGNEE,...:_default' \
'-m+[Name of the milestone the issue is related to]:MILESTONE:_default' \
'--milestone=[Name of the milestone the issue is related to]:MILESTONE:_default' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(comment)
_arguments "${_arguments_options[@]}" : \
'-n+[number of the issue to comment]:NUMBER:_default' \
'--number=[number of the issue to comment]:NUMBER:_default' \
'-b+[text body of the issue]:BODY:_default' \
'--body=[text body of the issue]:BODY:_default' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" : \
'-s+[Select from issues with the chosen state]:STATE:(closed open all)' \
'--state=[Select from issues with the chosen state]:STATE:(closed open all)' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'-c[Disabled\: display issue summary | Enabled\: display issue comment history]' \
'--comments[Disabled\: display issue summary | Enabled\: display issue comment history]' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::index -- Optionally, specify a selected issue in the command line:_default' \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
'-t+[Change title or summary]:TITLE:_default' \
'--title=[Change title or summary]:TITLE:_default' \
'*-l+[Change comma-delimited list of label ids (this overwrites existing labels)]:LABEL,...:_default' \
'*--labels=[Change comma-delimited list of label ids (this overwrites existing labels)]:LABEL,...:_default' \
'-d+[Changes main description of issue]:description:_default' \
'--description=[Changes main description of issue]:description:_default' \
'*-a+[Changes comma-delimited list of assignee names (this overwrites existing assignees)]:ASSIGNEE,...:_default' \
'*--assignees=[Changes comma-delimited list of assignee names (this overwrites existing assignees)]:ASSIGNEE,...:_default' \
'-m+[Changes the milestone the issue is related to]:MILESTONE:_default' \
'--milestone=[Changes the milestone the issue is related to]:MILESTONE:_default' \
'-s+[Changes the state of the issue]:STATE:(closed open)' \
'--state=[Changes the state of the issue]:STATE:(closed open)' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::id -- The id of the issue that'\''s going to be edited:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__issue__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-issue-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(comment)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(pull)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__pull_commands" \
"*::: :->pull" \
&& ret=0

    case $state in
    (pull)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-pull-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'--sort=[Sort using a certain criteria]:SORT:(oldest recentupdate leastupdate mostcomment leastcomment priority)' \
'-s+[Filter pull requests with the chosen state]:STATE:(closed open all)' \
'--state=[Filter pull requests with the chosen state]:STATE:(closed open all)' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
'*-a+[Comma-delimited list of assignee names]:ASSIGNEE,...:_default' \
'*--assignees=[Comma-delimited list of assignee names]:ASSIGNEE,...:_default' \
'-t+[Target branch for the pull request]:TARGET_BRANCH:_default' \
'--target-branch=[Target branch for the pull request]:TARGET_BRANCH:_default' \
'-d+[Main description of the pull request]:description:_default' \
'--description=[Main description of the pull request]:description:_default' \
'-s+[Source branch of the pull request]:SOURCE_BRANCH:_default' \
'--source-branch=[Source branch of the pull request]:SOURCE_BRANCH:_default' \
'*-l+[Comma-delimited list of labels]:LABEL,...:_default' \
'*--labels=[Comma-delimited list of labels]:LABEL,...:_default' \
'--title=[Title or summary]:TITLE:_default' \
'-m+[Name of the milestone the pull request is related to]:MILESTONE:_default' \
'--milestone=[Name of the milestone the pull request is related to]:MILESTONE:_default' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'-i[Interactive mode which guides the user through optional argument options]' \
'--interactive[Interactive mode which guides the user through optional argument options]' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" : \
'-s+[Select from pull requests with the chosen state]:STATE:(closed open all)' \
'--state=[Select from pull requests with the chosen state]:STATE:(closed open all)' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'-c[Disabled\: display issue summary | Enabled\: display issue comment history]' \
'--comments[Disabled\: display issue summary | Enabled\: display issue comment history]' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::index -- Optionally, specify a selected issue in the command line:_default' \
&& ret=0
;;
(comment)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__pull__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-pull-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(comment)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(label)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__label_commands" \
"*::: :->label" \
&& ret=0

    case $state in
    (label)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-label-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'-c+[Number of labels to be displayed]:N:_default' \
'--count=[Number of labels to be displayed]:N:_default' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
'-n+[Label name]:NAME:_default' \
'--name=[Label name]:NAME:_default' \
'-c+[Label color (in hex format "#abcdef")]:COLOR:_default' \
'--color=[Label color (in hex format "#abcdef")]:COLOR:_default' \
'-d+[Label purpose description]:DESCRIPTION:_default' \
'--description=[Label purpose description]:DESCRIPTION:_default' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__label__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-label-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(release)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__release_commands" \
"*::: :->release" \
&& ret=0

    case $state in
    (release)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-release-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
'-d+[Main description of release]:description:_default' \
'--description=[Main description of release]:description:_default' \
'-n+[Release name]:NAME:_default' \
'--name=[Release name]:NAME:_default' \
'-t+[Name of the tag to be released]:TAG:_default' \
'--tag=[Name of the tag to be released]:TAG:_default' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__release__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-release-help-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(repo)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__repo_commands" \
"*::: :->repo" \
&& ret=0

    case $state in
    (repo)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-repo-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
'--default-branch=[Main branch to init repository with (usually "main")]:default-branch:_default' \
'-d+[Repository description]:DESCRIPTION:_default' \
'--description=[Repository description]:DESCRIPTION:_default' \
'--org=[Organization name]:ORG:_default' \
'-n+[Repository name]:NAME:_default' \
'--name=[Repository name]:NAME:_default' \
'-p+[Repository visibility]:VISIBILITY:(private public)' \
'--private=[Repository visibility]:VISIBILITY:(private public)' \
'--and-push-from=[Whether or not to clone the repo after creating it remotely]:AND_PUSH_FROM:_files' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--and-clone[Whether or not to clone the repo after creating it remotely]' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(clone)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--use-ssh[Whether or not to clone via ssh]' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':owner_and_repo -- Repository to be cloned:_default' \
'::destination -- Where to clone into:_default' \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':owner_and_repo -- Repository to be deleted:_default' \
&& ret=0
;;
(fork)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':owner_and_repo -- Repository to be forked:_default' \
&& ret=0
;;
(info)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(assignees)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(migrate)
_arguments "${_arguments_options[@]}" : \
'-c+[The repository that'\''s going to be migrated to forgejo]:CLONE_ADDR:_default' \
'--clone-addr=[The repository that'\''s going to be migrated to forgejo]:CLONE_ADDR:_default' \
'--description=[The description of the repository *after* migration]:DESCRIPTION:_default' \
'-p+[The visibility of the repository *after* migration]:VISIBILITY:(private public)' \
'--private=[The visibility of the repository *after* migration]:VISIBILITY:(private public)' \
'-r+[The repository name *after* the migration]:repo-name:_default' \
'--repo-name=[The repository name *after* the migration]:repo-name:_default' \
'-s+[The kind of service, we'\''re going to migrate *from* (source location of repository)]:SERVICE:(git github gitea gitlab gogs onedev gitbucket codebase)' \
'--service=[The kind of service, we'\''re going to migrate *from* (source location of repository)]:SERVICE:(git github gitea gitlab gogs onedev gitbucket codebase)' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'-o+[Order the displayed repositories by different criteria]:ORDER BY:(name id newest oldest recentupdate leastupdate reversealphabetically alphabetically reversesize size reversegitsize gitsize reverselfssize lfssize moststars feweststars mostforks fewestforks)' \
'--order-by=[Order the displayed repositories by different criteria]:ORDER BY:(name id newest oldest recentupdate leastupdate reversealphabetically alphabetically reversesize size reversegitsize gitsize reverselfssize lfssize moststars feweststars mostforks fewestforks)' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(open)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(branch)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__repo__branch_commands" \
"*::: :->branch" \
&& ret=0

    case $state in
    (branch)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-repo-branch-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':branch -- Branch name to delete:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__repo__branch__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-repo-branch-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__repo__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-repo-help-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(clone)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(fork)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(assignees)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(migrate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(open)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(branch)
_arguments "${_arguments_options[@]}" : \
":: :_berg__repo__help__branch_commands" \
"*::: :->branch" \
&& ret=0

    case $state in
    (branch)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-repo-help-branch-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(milestone)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__milestone_commands" \
"*::: :->milestone" \
&& ret=0

    case $state in
    (milestone)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-milestone-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'-c+[Number of milestones to be displayed]:N:_default' \
'--count=[Number of milestones to be displayed]:N:_default' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" : \
'-s+[Select from milestones with the chosen state]:STATE:(closed open all)' \
'--state=[Select from milestones with the chosen state]:STATE:(closed open all)' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
'-t+[Title or summary]:TITLE:_default' \
'--title=[Title or summary]:TITLE:_default' \
'-d+[Main description of milestone]:DESCRIPTION:_default' \
'--description=[Main description of milestone]:DESCRIPTION:_default' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__milestone__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-milestone-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(notification)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__notification_commands" \
"*::: :->notification" \
&& ret=0

    case $state in
    (notification)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-notification-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'*--status-types=[filter notifications by status]:STATUS_TYPES:_default' \
'--subject-type=[filter notifications by subject type]:SUBJECT_TYPE:_default' \
'-p+[control how many pages of notifications should be shown]:PAGE:_default' \
'--page=[control how many pages of notifications should be shown]:PAGE:_default' \
'-l+[control how many notifications each page should hold]:LIMIT:_default' \
'--limit=[control how many notifications each page should hold]:LIMIT:_default' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'-a[just list everything]' \
'--all[just list everything]' \
'-d[filter notifications by date]' \
'--dates[filter notifications by date]' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'-a[show everything about the notification if available]' \
'--all[show everything about the notification if available]' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'::id -- view specific notification if available:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__notification__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-notification-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(keys)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__keys_commands" \
"*::: :->keys" \
&& ret=0

    case $state in
    (keys)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-keys-command-$line[1]:"
        case $line[1] in
            (gpg)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__keys__gpg_commands" \
"*::: :->gpg" \
&& ret=0

    case $state in
    (gpg)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-keys-gpg-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(add)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':gpg_key_path -- The path to an ascii armored gpg key:_files' \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
'-a+[optionally\: for non-interactive workflows, you can specify the signature in a second invocation]:ARMORED_SIGNATURE:_default' \
'--armored-signature=[optionally\: for non-interactive workflows, you can specify the signature in a second invocation]:ARMORED_SIGNATURE:_default' \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':key_id -- The key id / fingerprint of the GPG key used to identify it:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__keys__gpg__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-keys-gpg-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(ssh)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
":: :_berg__keys__ssh_commands" \
"*::: :->ssh" \
&& ret=0

    case $state in
    (ssh)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-keys-ssh-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(add)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':ssh_pub_path -- The path to an ssh public key:_files' \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__keys__ssh__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-keys-ssh-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__keys__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-keys-help-command-$line[1]:"
        case $line[1] in
            (gpg)
_arguments "${_arguments_options[@]}" : \
":: :_berg__keys__help__gpg_commands" \
"*::: :->gpg" \
&& ret=0

    case $state in
    (gpg)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-keys-help-gpg-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(ssh)
_arguments "${_arguments_options[@]}" : \
":: :_berg__keys__help__ssh_commands" \
"*::: :->ssh" \
&& ret=0

    case $state in
    (ssh)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-keys-help-ssh-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(completion)
_arguments "${_arguments_options[@]}" : \
'--output-mode=[How to display the responses of the forgejo instance if there are any]:OUTPUT_MODE:((pretty\:"Pretty output with tables rendered in the terminal"
json\:"Raw json output for further use with pipes etc"))' \
'-w+[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--max-width=[Maximum with of the stdout output,]:MAX_WIDTH:_default' \
'--owner-repo=[The OWNER/REPO tuple if you want to target a repository other than the one in \$PWD]:OWNER/REPO:_default' \
'--non-interactive[Whether or not to disable all interactive features. In this case arguments have to be provided in the console!]' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
':shell -- Shell to generate completion for:(bash elvish fish powershell zsh)' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-command-$line[1]:"
        case $line[1] in
            (api)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__api_commands" \
"*::: :->api" \
&& ret=0

    case $state in
    (api)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-api-command-$line[1]:"
        case $line[1] in
            (version)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(auth)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__auth_commands" \
"*::: :->auth" \
&& ret=0

    case $state in
    (auth)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-auth-command-$line[1]:"
        case $line[1] in
            (login)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(logout)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(config)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__config_commands" \
"*::: :->config" \
&& ret=0

    case $state in
    (config)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-config-command-$line[1]:"
        case $line[1] in
            (info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(generate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(user)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__user_commands" \
"*::: :->user" \
&& ret=0

    case $state in
    (user)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-user-command-$line[1]:"
        case $line[1] in
            (info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(issue)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__issue_commands" \
"*::: :->issue" \
&& ret=0

    case $state in
    (issue)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-issue-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(comment)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(pull)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__pull_commands" \
"*::: :->pull" \
&& ret=0

    case $state in
    (pull)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-pull-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(comment)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(label)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__label_commands" \
"*::: :->label" \
&& ret=0

    case $state in
    (label)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-label-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(release)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__release_commands" \
"*::: :->release" \
&& ret=0

    case $state in
    (release)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-release-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(repo)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__repo_commands" \
"*::: :->repo" \
&& ret=0

    case $state in
    (repo)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-repo-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(clone)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(fork)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(assignees)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(migrate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(open)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(branch)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__repo__branch_commands" \
"*::: :->branch" \
&& ret=0

    case $state in
    (branch)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-repo-branch-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(milestone)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__milestone_commands" \
"*::: :->milestone" \
&& ret=0

    case $state in
    (milestone)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-milestone-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(edit)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(notification)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__notification_commands" \
"*::: :->notification" \
&& ret=0

    case $state in
    (notification)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-notification-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(view)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(keys)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__keys_commands" \
"*::: :->keys" \
&& ret=0

    case $state in
    (keys)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-keys-command-$line[1]:"
        case $line[1] in
            (gpg)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__keys__gpg_commands" \
"*::: :->gpg" \
&& ret=0

    case $state in
    (gpg)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-keys-gpg-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(verify)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(ssh)
_arguments "${_arguments_options[@]}" : \
":: :_berg__help__keys__ssh_commands" \
"*::: :->ssh" \
&& ret=0

    case $state in
    (ssh)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:berg-help-keys-ssh-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(completion)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_berg_commands] )) ||
_berg_commands() {
    local commands; commands=(
'api:API subcommands' \
'auth:Authentication subcommands' \
'config:Config subcommands' \
'user:User subcommands' \
'issue:Issue subcommands' \
'pull:Pull request subcommands' \
'label:Label subcommands' \
'release:Release subcommands' \
'repo:Repository subcommands' \
'milestone:Milestone subcommands' \
'notification:Notification subcommands' \
'keys:Key management subcommands' \
'completion:Print completion script' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg commands' commands "$@"
}
(( $+functions[_berg__api_commands] )) ||
_berg__api_commands() {
    local commands; commands=(
'version:Display short summary of the authenticated user account' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg api commands' commands "$@"
}
(( $+functions[_berg__api__help_commands] )) ||
_berg__api__help_commands() {
    local commands; commands=(
'version:Display short summary of the authenticated user account' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg api help commands' commands "$@"
}
(( $+functions[_berg__api__help__help_commands] )) ||
_berg__api__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg api help help commands' commands "$@"
}
(( $+functions[_berg__api__help__version_commands] )) ||
_berg__api__help__version_commands() {
    local commands; commands=()
    _describe -t commands 'berg api help version commands' commands "$@"
}
(( $+functions[_berg__api__version_commands] )) ||
_berg__api__version_commands() {
    local commands; commands=()
    _describe -t commands 'berg api version commands' commands "$@"
}
(( $+functions[_berg__auth_commands] )) ||
_berg__auth_commands() {
    local commands; commands=(
'login:Login via generating authentication token' \
'logout:Logout. Delete currently stored authentication token' \
'list:List all forgejo instances you'\''re authenticated for' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg auth commands' commands "$@"
}
(( $+functions[_berg__auth__help_commands] )) ||
_berg__auth__help_commands() {
    local commands; commands=(
'login:Login via generating authentication token' \
'logout:Logout. Delete currently stored authentication token' \
'list:List all forgejo instances you'\''re authenticated for' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg auth help commands' commands "$@"
}
(( $+functions[_berg__auth__help__help_commands] )) ||
_berg__auth__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg auth help help commands' commands "$@"
}
(( $+functions[_berg__auth__help__list_commands] )) ||
_berg__auth__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg auth help list commands' commands "$@"
}
(( $+functions[_berg__auth__help__login_commands] )) ||
_berg__auth__help__login_commands() {
    local commands; commands=()
    _describe -t commands 'berg auth help login commands' commands "$@"
}
(( $+functions[_berg__auth__help__logout_commands] )) ||
_berg__auth__help__logout_commands() {
    local commands; commands=()
    _describe -t commands 'berg auth help logout commands' commands "$@"
}
(( $+functions[_berg__auth__list_commands] )) ||
_berg__auth__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg auth list commands' commands "$@"
}
(( $+functions[_berg__auth__login_commands] )) ||
_berg__auth__login_commands() {
    local commands; commands=()
    _describe -t commands 'berg auth login commands' commands "$@"
}
(( $+functions[_berg__auth__logout_commands] )) ||
_berg__auth__logout_commands() {
    local commands; commands=()
    _describe -t commands 'berg auth logout commands' commands "$@"
}
(( $+functions[_berg__completion_commands] )) ||
_berg__completion_commands() {
    local commands; commands=()
    _describe -t commands 'berg completion commands' commands "$@"
}
(( $+functions[_berg__config_commands] )) ||
_berg__config_commands() {
    local commands; commands=(
'info:Display short overview of which config values are used' \
'generate:Generate standard configuration at certain locations' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg config commands' commands "$@"
}
(( $+functions[_berg__config__generate_commands] )) ||
_berg__config__generate_commands() {
    local commands; commands=()
    _describe -t commands 'berg config generate commands' commands "$@"
}
(( $+functions[_berg__config__help_commands] )) ||
_berg__config__help_commands() {
    local commands; commands=(
'info:Display short overview of which config values are used' \
'generate:Generate standard configuration at certain locations' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg config help commands' commands "$@"
}
(( $+functions[_berg__config__help__generate_commands] )) ||
_berg__config__help__generate_commands() {
    local commands; commands=()
    _describe -t commands 'berg config help generate commands' commands "$@"
}
(( $+functions[_berg__config__help__help_commands] )) ||
_berg__config__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg config help help commands' commands "$@"
}
(( $+functions[_berg__config__help__info_commands] )) ||
_berg__config__help__info_commands() {
    local commands; commands=()
    _describe -t commands 'berg config help info commands' commands "$@"
}
(( $+functions[_berg__config__info_commands] )) ||
_berg__config__info_commands() {
    local commands; commands=()
    _describe -t commands 'berg config info commands' commands "$@"
}
(( $+functions[_berg__help_commands] )) ||
_berg__help_commands() {
    local commands; commands=(
'api:API subcommands' \
'auth:Authentication subcommands' \
'config:Config subcommands' \
'user:User subcommands' \
'issue:Issue subcommands' \
'pull:Pull request subcommands' \
'label:Label subcommands' \
'release:Release subcommands' \
'repo:Repository subcommands' \
'milestone:Milestone subcommands' \
'notification:Notification subcommands' \
'keys:Key management subcommands' \
'completion:Print completion script' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg help commands' commands "$@"
}
(( $+functions[_berg__help__api_commands] )) ||
_berg__help__api_commands() {
    local commands; commands=(
'version:Display short summary of the authenticated user account' \
    )
    _describe -t commands 'berg help api commands' commands "$@"
}
(( $+functions[_berg__help__api__version_commands] )) ||
_berg__help__api__version_commands() {
    local commands; commands=()
    _describe -t commands 'berg help api version commands' commands "$@"
}
(( $+functions[_berg__help__auth_commands] )) ||
_berg__help__auth_commands() {
    local commands; commands=(
'login:Login via generating authentication token' \
'logout:Logout. Delete currently stored authentication token' \
'list:List all forgejo instances you'\''re authenticated for' \
    )
    _describe -t commands 'berg help auth commands' commands "$@"
}
(( $+functions[_berg__help__auth__list_commands] )) ||
_berg__help__auth__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg help auth list commands' commands "$@"
}
(( $+functions[_berg__help__auth__login_commands] )) ||
_berg__help__auth__login_commands() {
    local commands; commands=()
    _describe -t commands 'berg help auth login commands' commands "$@"
}
(( $+functions[_berg__help__auth__logout_commands] )) ||
_berg__help__auth__logout_commands() {
    local commands; commands=()
    _describe -t commands 'berg help auth logout commands' commands "$@"
}
(( $+functions[_berg__help__completion_commands] )) ||
_berg__help__completion_commands() {
    local commands; commands=()
    _describe -t commands 'berg help completion commands' commands "$@"
}
(( $+functions[_berg__help__config_commands] )) ||
_berg__help__config_commands() {
    local commands; commands=(
'info:Display short overview of which config values are used' \
'generate:Generate standard configuration at certain locations' \
    )
    _describe -t commands 'berg help config commands' commands "$@"
}
(( $+functions[_berg__help__config__generate_commands] )) ||
_berg__help__config__generate_commands() {
    local commands; commands=()
    _describe -t commands 'berg help config generate commands' commands "$@"
}
(( $+functions[_berg__help__config__info_commands] )) ||
_berg__help__config__info_commands() {
    local commands; commands=()
    _describe -t commands 'berg help config info commands' commands "$@"
}
(( $+functions[_berg__help__help_commands] )) ||
_berg__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg help help commands' commands "$@"
}
(( $+functions[_berg__help__issue_commands] )) ||
_berg__help__issue_commands() {
    local commands; commands=(
'list:List all issues in the current repository' \
'create:Create an issue' \
'comment:Add a comment to selected issue' \
'view:View details of selected issue' \
'edit:Edit selected issue' \
    )
    _describe -t commands 'berg help issue commands' commands "$@"
}
(( $+functions[_berg__help__issue__comment_commands] )) ||
_berg__help__issue__comment_commands() {
    local commands; commands=()
    _describe -t commands 'berg help issue comment commands' commands "$@"
}
(( $+functions[_berg__help__issue__create_commands] )) ||
_berg__help__issue__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg help issue create commands' commands "$@"
}
(( $+functions[_berg__help__issue__edit_commands] )) ||
_berg__help__issue__edit_commands() {
    local commands; commands=()
    _describe -t commands 'berg help issue edit commands' commands "$@"
}
(( $+functions[_berg__help__issue__list_commands] )) ||
_berg__help__issue__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg help issue list commands' commands "$@"
}
(( $+functions[_berg__help__issue__view_commands] )) ||
_berg__help__issue__view_commands() {
    local commands; commands=()
    _describe -t commands 'berg help issue view commands' commands "$@"
}
(( $+functions[_berg__help__keys_commands] )) ||
_berg__help__keys_commands() {
    local commands; commands=(
'gpg:Gpg key management' \
'ssh:Ssh key management' \
    )
    _describe -t commands 'berg help keys commands' commands "$@"
}
(( $+functions[_berg__help__keys__gpg_commands] )) ||
_berg__help__keys__gpg_commands() {
    local commands; commands=(
'list:List all available gpg keys' \
'add:Upload a new gpg public key, attaching it to your profile' \
'remove:Remove a gpg key from your profile' \
'verify:Verify a gpg key from your profile' \
    )
    _describe -t commands 'berg help keys gpg commands' commands "$@"
}
(( $+functions[_berg__help__keys__gpg__add_commands] )) ||
_berg__help__keys__gpg__add_commands() {
    local commands; commands=()
    _describe -t commands 'berg help keys gpg add commands' commands "$@"
}
(( $+functions[_berg__help__keys__gpg__list_commands] )) ||
_berg__help__keys__gpg__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg help keys gpg list commands' commands "$@"
}
(( $+functions[_berg__help__keys__gpg__remove_commands] )) ||
_berg__help__keys__gpg__remove_commands() {
    local commands; commands=()
    _describe -t commands 'berg help keys gpg remove commands' commands "$@"
}
(( $+functions[_berg__help__keys__gpg__verify_commands] )) ||
_berg__help__keys__gpg__verify_commands() {
    local commands; commands=()
    _describe -t commands 'berg help keys gpg verify commands' commands "$@"
}
(( $+functions[_berg__help__keys__ssh_commands] )) ||
_berg__help__keys__ssh_commands() {
    local commands; commands=(
'list:List all available gpg keys' \
'add:Upload a new ssh public key, attaching it to your profile' \
'remove:Remove a ssh key from your profile' \
    )
    _describe -t commands 'berg help keys ssh commands' commands "$@"
}
(( $+functions[_berg__help__keys__ssh__add_commands] )) ||
_berg__help__keys__ssh__add_commands() {
    local commands; commands=()
    _describe -t commands 'berg help keys ssh add commands' commands "$@"
}
(( $+functions[_berg__help__keys__ssh__list_commands] )) ||
_berg__help__keys__ssh__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg help keys ssh list commands' commands "$@"
}
(( $+functions[_berg__help__keys__ssh__remove_commands] )) ||
_berg__help__keys__ssh__remove_commands() {
    local commands; commands=()
    _describe -t commands 'berg help keys ssh remove commands' commands "$@"
}
(( $+functions[_berg__help__label_commands] )) ||
_berg__help__label_commands() {
    local commands; commands=(
'list:List all labels in the current repository' \
'create:Create a label' \
'delete:Delete a label' \
'edit:Edit selected label' \
    )
    _describe -t commands 'berg help label commands' commands "$@"
}
(( $+functions[_berg__help__label__create_commands] )) ||
_berg__help__label__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg help label create commands' commands "$@"
}
(( $+functions[_berg__help__label__delete_commands] )) ||
_berg__help__label__delete_commands() {
    local commands; commands=()
    _describe -t commands 'berg help label delete commands' commands "$@"
}
(( $+functions[_berg__help__label__edit_commands] )) ||
_berg__help__label__edit_commands() {
    local commands; commands=()
    _describe -t commands 'berg help label edit commands' commands "$@"
}
(( $+functions[_berg__help__label__list_commands] )) ||
_berg__help__label__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg help label list commands' commands "$@"
}
(( $+functions[_berg__help__milestone_commands] )) ||
_berg__help__milestone_commands() {
    local commands; commands=(
'list:List all milestones in the current repository' \
'view:View details of selected milestone' \
'create:Create an issue' \
'edit:Edit selected issue' \
    )
    _describe -t commands 'berg help milestone commands' commands "$@"
}
(( $+functions[_berg__help__milestone__create_commands] )) ||
_berg__help__milestone__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg help milestone create commands' commands "$@"
}
(( $+functions[_berg__help__milestone__edit_commands] )) ||
_berg__help__milestone__edit_commands() {
    local commands; commands=()
    _describe -t commands 'berg help milestone edit commands' commands "$@"
}
(( $+functions[_berg__help__milestone__list_commands] )) ||
_berg__help__milestone__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg help milestone list commands' commands "$@"
}
(( $+functions[_berg__help__milestone__view_commands] )) ||
_berg__help__milestone__view_commands() {
    local commands; commands=()
    _describe -t commands 'berg help milestone view commands' commands "$@"
}
(( $+functions[_berg__help__notification_commands] )) ||
_berg__help__notification_commands() {
    local commands; commands=(
'list:' \
'view:' \
    )
    _describe -t commands 'berg help notification commands' commands "$@"
}
(( $+functions[_berg__help__notification__list_commands] )) ||
_berg__help__notification__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg help notification list commands' commands "$@"
}
(( $+functions[_berg__help__notification__view_commands] )) ||
_berg__help__notification__view_commands() {
    local commands; commands=()
    _describe -t commands 'berg help notification view commands' commands "$@"
}
(( $+functions[_berg__help__pull_commands] )) ||
_berg__help__pull_commands() {
    local commands; commands=(
'list:List pull requests' \
'create:Create a pull request' \
'edit:Edit pull request' \
'view:View details of a selected pull request' \
'comment:Add comment to selected pull request' \
    )
    _describe -t commands 'berg help pull commands' commands "$@"
}
(( $+functions[_berg__help__pull__comment_commands] )) ||
_berg__help__pull__comment_commands() {
    local commands; commands=()
    _describe -t commands 'berg help pull comment commands' commands "$@"
}
(( $+functions[_berg__help__pull__create_commands] )) ||
_berg__help__pull__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg help pull create commands' commands "$@"
}
(( $+functions[_berg__help__pull__edit_commands] )) ||
_berg__help__pull__edit_commands() {
    local commands; commands=()
    _describe -t commands 'berg help pull edit commands' commands "$@"
}
(( $+functions[_berg__help__pull__list_commands] )) ||
_berg__help__pull__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg help pull list commands' commands "$@"
}
(( $+functions[_berg__help__pull__view_commands] )) ||
_berg__help__pull__view_commands() {
    local commands; commands=()
    _describe -t commands 'berg help pull view commands' commands "$@"
}
(( $+functions[_berg__help__release_commands] )) ||
_berg__help__release_commands() {
    local commands; commands=(
'create:Create a release' \
'list:List all releases in the current repository' \
    )
    _describe -t commands 'berg help release commands' commands "$@"
}
(( $+functions[_berg__help__release__create_commands] )) ||
_berg__help__release__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg help release create commands' commands "$@"
}
(( $+functions[_berg__help__release__list_commands] )) ||
_berg__help__release__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg help release list commands' commands "$@"
}
(( $+functions[_berg__help__repo_commands] )) ||
_berg__help__repo_commands() {
    local commands; commands=(
'create:Create a new repository' \
'clone:Clone a repository' \
'delete:Delete a repository' \
'fork:Fork a repository' \
'info:Display short summary of the current repository' \
'assignees:List available assignee candidates' \
'migrate:Create a new repository' \
'list:List user current active repositories' \
'open:Open the current repository in the browser' \
'branch:Branch subcommands' \
    )
    _describe -t commands 'berg help repo commands' commands "$@"
}
(( $+functions[_berg__help__repo__assignees_commands] )) ||
_berg__help__repo__assignees_commands() {
    local commands; commands=()
    _describe -t commands 'berg help repo assignees commands' commands "$@"
}
(( $+functions[_berg__help__repo__branch_commands] )) ||
_berg__help__repo__branch_commands() {
    local commands; commands=(
'list:List branches' \
'delete:Delete a branch' \
    )
    _describe -t commands 'berg help repo branch commands' commands "$@"
}
(( $+functions[_berg__help__repo__branch__delete_commands] )) ||
_berg__help__repo__branch__delete_commands() {
    local commands; commands=()
    _describe -t commands 'berg help repo branch delete commands' commands "$@"
}
(( $+functions[_berg__help__repo__branch__list_commands] )) ||
_berg__help__repo__branch__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg help repo branch list commands' commands "$@"
}
(( $+functions[_berg__help__repo__clone_commands] )) ||
_berg__help__repo__clone_commands() {
    local commands; commands=()
    _describe -t commands 'berg help repo clone commands' commands "$@"
}
(( $+functions[_berg__help__repo__create_commands] )) ||
_berg__help__repo__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg help repo create commands' commands "$@"
}
(( $+functions[_berg__help__repo__delete_commands] )) ||
_berg__help__repo__delete_commands() {
    local commands; commands=()
    _describe -t commands 'berg help repo delete commands' commands "$@"
}
(( $+functions[_berg__help__repo__fork_commands] )) ||
_berg__help__repo__fork_commands() {
    local commands; commands=()
    _describe -t commands 'berg help repo fork commands' commands "$@"
}
(( $+functions[_berg__help__repo__info_commands] )) ||
_berg__help__repo__info_commands() {
    local commands; commands=()
    _describe -t commands 'berg help repo info commands' commands "$@"
}
(( $+functions[_berg__help__repo__list_commands] )) ||
_berg__help__repo__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg help repo list commands' commands "$@"
}
(( $+functions[_berg__help__repo__migrate_commands] )) ||
_berg__help__repo__migrate_commands() {
    local commands; commands=()
    _describe -t commands 'berg help repo migrate commands' commands "$@"
}
(( $+functions[_berg__help__repo__open_commands] )) ||
_berg__help__repo__open_commands() {
    local commands; commands=()
    _describe -t commands 'berg help repo open commands' commands "$@"
}
(( $+functions[_berg__help__user_commands] )) ||
_berg__help__user_commands() {
    local commands; commands=(
'info:Display short summary of the authenticated user account' \
    )
    _describe -t commands 'berg help user commands' commands "$@"
}
(( $+functions[_berg__help__user__info_commands] )) ||
_berg__help__user__info_commands() {
    local commands; commands=()
    _describe -t commands 'berg help user info commands' commands "$@"
}
(( $+functions[_berg__issue_commands] )) ||
_berg__issue_commands() {
    local commands; commands=(
'list:List all issues in the current repository' \
'create:Create an issue' \
'comment:Add a comment to selected issue' \
'view:View details of selected issue' \
'edit:Edit selected issue' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg issue commands' commands "$@"
}
(( $+functions[_berg__issue__comment_commands] )) ||
_berg__issue__comment_commands() {
    local commands; commands=()
    _describe -t commands 'berg issue comment commands' commands "$@"
}
(( $+functions[_berg__issue__create_commands] )) ||
_berg__issue__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg issue create commands' commands "$@"
}
(( $+functions[_berg__issue__edit_commands] )) ||
_berg__issue__edit_commands() {
    local commands; commands=()
    _describe -t commands 'berg issue edit commands' commands "$@"
}
(( $+functions[_berg__issue__help_commands] )) ||
_berg__issue__help_commands() {
    local commands; commands=(
'list:List all issues in the current repository' \
'create:Create an issue' \
'comment:Add a comment to selected issue' \
'view:View details of selected issue' \
'edit:Edit selected issue' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg issue help commands' commands "$@"
}
(( $+functions[_berg__issue__help__comment_commands] )) ||
_berg__issue__help__comment_commands() {
    local commands; commands=()
    _describe -t commands 'berg issue help comment commands' commands "$@"
}
(( $+functions[_berg__issue__help__create_commands] )) ||
_berg__issue__help__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg issue help create commands' commands "$@"
}
(( $+functions[_berg__issue__help__edit_commands] )) ||
_berg__issue__help__edit_commands() {
    local commands; commands=()
    _describe -t commands 'berg issue help edit commands' commands "$@"
}
(( $+functions[_berg__issue__help__help_commands] )) ||
_berg__issue__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg issue help help commands' commands "$@"
}
(( $+functions[_berg__issue__help__list_commands] )) ||
_berg__issue__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg issue help list commands' commands "$@"
}
(( $+functions[_berg__issue__help__view_commands] )) ||
_berg__issue__help__view_commands() {
    local commands; commands=()
    _describe -t commands 'berg issue help view commands' commands "$@"
}
(( $+functions[_berg__issue__list_commands] )) ||
_berg__issue__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg issue list commands' commands "$@"
}
(( $+functions[_berg__issue__view_commands] )) ||
_berg__issue__view_commands() {
    local commands; commands=()
    _describe -t commands 'berg issue view commands' commands "$@"
}
(( $+functions[_berg__keys_commands] )) ||
_berg__keys_commands() {
    local commands; commands=(
'gpg:Gpg key management' \
'ssh:Ssh key management' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg keys commands' commands "$@"
}
(( $+functions[_berg__keys__gpg_commands] )) ||
_berg__keys__gpg_commands() {
    local commands; commands=(
'list:List all available gpg keys' \
'add:Upload a new gpg public key, attaching it to your profile' \
'remove:Remove a gpg key from your profile' \
'verify:Verify a gpg key from your profile' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg keys gpg commands' commands "$@"
}
(( $+functions[_berg__keys__gpg__add_commands] )) ||
_berg__keys__gpg__add_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys gpg add commands' commands "$@"
}
(( $+functions[_berg__keys__gpg__help_commands] )) ||
_berg__keys__gpg__help_commands() {
    local commands; commands=(
'list:List all available gpg keys' \
'add:Upload a new gpg public key, attaching it to your profile' \
'remove:Remove a gpg key from your profile' \
'verify:Verify a gpg key from your profile' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg keys gpg help commands' commands "$@"
}
(( $+functions[_berg__keys__gpg__help__add_commands] )) ||
_berg__keys__gpg__help__add_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys gpg help add commands' commands "$@"
}
(( $+functions[_berg__keys__gpg__help__help_commands] )) ||
_berg__keys__gpg__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys gpg help help commands' commands "$@"
}
(( $+functions[_berg__keys__gpg__help__list_commands] )) ||
_berg__keys__gpg__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys gpg help list commands' commands "$@"
}
(( $+functions[_berg__keys__gpg__help__remove_commands] )) ||
_berg__keys__gpg__help__remove_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys gpg help remove commands' commands "$@"
}
(( $+functions[_berg__keys__gpg__help__verify_commands] )) ||
_berg__keys__gpg__help__verify_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys gpg help verify commands' commands "$@"
}
(( $+functions[_berg__keys__gpg__list_commands] )) ||
_berg__keys__gpg__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys gpg list commands' commands "$@"
}
(( $+functions[_berg__keys__gpg__remove_commands] )) ||
_berg__keys__gpg__remove_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys gpg remove commands' commands "$@"
}
(( $+functions[_berg__keys__gpg__verify_commands] )) ||
_berg__keys__gpg__verify_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys gpg verify commands' commands "$@"
}
(( $+functions[_berg__keys__help_commands] )) ||
_berg__keys__help_commands() {
    local commands; commands=(
'gpg:Gpg key management' \
'ssh:Ssh key management' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg keys help commands' commands "$@"
}
(( $+functions[_berg__keys__help__gpg_commands] )) ||
_berg__keys__help__gpg_commands() {
    local commands; commands=(
'list:List all available gpg keys' \
'add:Upload a new gpg public key, attaching it to your profile' \
'remove:Remove a gpg key from your profile' \
'verify:Verify a gpg key from your profile' \
    )
    _describe -t commands 'berg keys help gpg commands' commands "$@"
}
(( $+functions[_berg__keys__help__gpg__add_commands] )) ||
_berg__keys__help__gpg__add_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys help gpg add commands' commands "$@"
}
(( $+functions[_berg__keys__help__gpg__list_commands] )) ||
_berg__keys__help__gpg__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys help gpg list commands' commands "$@"
}
(( $+functions[_berg__keys__help__gpg__remove_commands] )) ||
_berg__keys__help__gpg__remove_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys help gpg remove commands' commands "$@"
}
(( $+functions[_berg__keys__help__gpg__verify_commands] )) ||
_berg__keys__help__gpg__verify_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys help gpg verify commands' commands "$@"
}
(( $+functions[_berg__keys__help__help_commands] )) ||
_berg__keys__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys help help commands' commands "$@"
}
(( $+functions[_berg__keys__help__ssh_commands] )) ||
_berg__keys__help__ssh_commands() {
    local commands; commands=(
'list:List all available gpg keys' \
'add:Upload a new ssh public key, attaching it to your profile' \
'remove:Remove a ssh key from your profile' \
    )
    _describe -t commands 'berg keys help ssh commands' commands "$@"
}
(( $+functions[_berg__keys__help__ssh__add_commands] )) ||
_berg__keys__help__ssh__add_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys help ssh add commands' commands "$@"
}
(( $+functions[_berg__keys__help__ssh__list_commands] )) ||
_berg__keys__help__ssh__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys help ssh list commands' commands "$@"
}
(( $+functions[_berg__keys__help__ssh__remove_commands] )) ||
_berg__keys__help__ssh__remove_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys help ssh remove commands' commands "$@"
}
(( $+functions[_berg__keys__ssh_commands] )) ||
_berg__keys__ssh_commands() {
    local commands; commands=(
'list:List all available gpg keys' \
'add:Upload a new ssh public key, attaching it to your profile' \
'remove:Remove a ssh key from your profile' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg keys ssh commands' commands "$@"
}
(( $+functions[_berg__keys__ssh__add_commands] )) ||
_berg__keys__ssh__add_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys ssh add commands' commands "$@"
}
(( $+functions[_berg__keys__ssh__help_commands] )) ||
_berg__keys__ssh__help_commands() {
    local commands; commands=(
'list:List all available gpg keys' \
'add:Upload a new ssh public key, attaching it to your profile' \
'remove:Remove a ssh key from your profile' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg keys ssh help commands' commands "$@"
}
(( $+functions[_berg__keys__ssh__help__add_commands] )) ||
_berg__keys__ssh__help__add_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys ssh help add commands' commands "$@"
}
(( $+functions[_berg__keys__ssh__help__help_commands] )) ||
_berg__keys__ssh__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys ssh help help commands' commands "$@"
}
(( $+functions[_berg__keys__ssh__help__list_commands] )) ||
_berg__keys__ssh__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys ssh help list commands' commands "$@"
}
(( $+functions[_berg__keys__ssh__help__remove_commands] )) ||
_berg__keys__ssh__help__remove_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys ssh help remove commands' commands "$@"
}
(( $+functions[_berg__keys__ssh__list_commands] )) ||
_berg__keys__ssh__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys ssh list commands' commands "$@"
}
(( $+functions[_berg__keys__ssh__remove_commands] )) ||
_berg__keys__ssh__remove_commands() {
    local commands; commands=()
    _describe -t commands 'berg keys ssh remove commands' commands "$@"
}
(( $+functions[_berg__label_commands] )) ||
_berg__label_commands() {
    local commands; commands=(
'list:List all labels in the current repository' \
'create:Create a label' \
'delete:Delete a label' \
'edit:Edit selected label' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg label commands' commands "$@"
}
(( $+functions[_berg__label__create_commands] )) ||
_berg__label__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg label create commands' commands "$@"
}
(( $+functions[_berg__label__delete_commands] )) ||
_berg__label__delete_commands() {
    local commands; commands=()
    _describe -t commands 'berg label delete commands' commands "$@"
}
(( $+functions[_berg__label__edit_commands] )) ||
_berg__label__edit_commands() {
    local commands; commands=()
    _describe -t commands 'berg label edit commands' commands "$@"
}
(( $+functions[_berg__label__help_commands] )) ||
_berg__label__help_commands() {
    local commands; commands=(
'list:List all labels in the current repository' \
'create:Create a label' \
'delete:Delete a label' \
'edit:Edit selected label' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg label help commands' commands "$@"
}
(( $+functions[_berg__label__help__create_commands] )) ||
_berg__label__help__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg label help create commands' commands "$@"
}
(( $+functions[_berg__label__help__delete_commands] )) ||
_berg__label__help__delete_commands() {
    local commands; commands=()
    _describe -t commands 'berg label help delete commands' commands "$@"
}
(( $+functions[_berg__label__help__edit_commands] )) ||
_berg__label__help__edit_commands() {
    local commands; commands=()
    _describe -t commands 'berg label help edit commands' commands "$@"
}
(( $+functions[_berg__label__help__help_commands] )) ||
_berg__label__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg label help help commands' commands "$@"
}
(( $+functions[_berg__label__help__list_commands] )) ||
_berg__label__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg label help list commands' commands "$@"
}
(( $+functions[_berg__label__list_commands] )) ||
_berg__label__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg label list commands' commands "$@"
}
(( $+functions[_berg__milestone_commands] )) ||
_berg__milestone_commands() {
    local commands; commands=(
'list:List all milestones in the current repository' \
'view:View details of selected milestone' \
'create:Create an issue' \
'edit:Edit selected issue' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg milestone commands' commands "$@"
}
(( $+functions[_berg__milestone__create_commands] )) ||
_berg__milestone__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg milestone create commands' commands "$@"
}
(( $+functions[_berg__milestone__edit_commands] )) ||
_berg__milestone__edit_commands() {
    local commands; commands=()
    _describe -t commands 'berg milestone edit commands' commands "$@"
}
(( $+functions[_berg__milestone__help_commands] )) ||
_berg__milestone__help_commands() {
    local commands; commands=(
'list:List all milestones in the current repository' \
'view:View details of selected milestone' \
'create:Create an issue' \
'edit:Edit selected issue' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg milestone help commands' commands "$@"
}
(( $+functions[_berg__milestone__help__create_commands] )) ||
_berg__milestone__help__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg milestone help create commands' commands "$@"
}
(( $+functions[_berg__milestone__help__edit_commands] )) ||
_berg__milestone__help__edit_commands() {
    local commands; commands=()
    _describe -t commands 'berg milestone help edit commands' commands "$@"
}
(( $+functions[_berg__milestone__help__help_commands] )) ||
_berg__milestone__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg milestone help help commands' commands "$@"
}
(( $+functions[_berg__milestone__help__list_commands] )) ||
_berg__milestone__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg milestone help list commands' commands "$@"
}
(( $+functions[_berg__milestone__help__view_commands] )) ||
_berg__milestone__help__view_commands() {
    local commands; commands=()
    _describe -t commands 'berg milestone help view commands' commands "$@"
}
(( $+functions[_berg__milestone__list_commands] )) ||
_berg__milestone__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg milestone list commands' commands "$@"
}
(( $+functions[_berg__milestone__view_commands] )) ||
_berg__milestone__view_commands() {
    local commands; commands=()
    _describe -t commands 'berg milestone view commands' commands "$@"
}
(( $+functions[_berg__notification_commands] )) ||
_berg__notification_commands() {
    local commands; commands=(
'list:' \
'view:' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg notification commands' commands "$@"
}
(( $+functions[_berg__notification__help_commands] )) ||
_berg__notification__help_commands() {
    local commands; commands=(
'list:' \
'view:' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg notification help commands' commands "$@"
}
(( $+functions[_berg__notification__help__help_commands] )) ||
_berg__notification__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg notification help help commands' commands "$@"
}
(( $+functions[_berg__notification__help__list_commands] )) ||
_berg__notification__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg notification help list commands' commands "$@"
}
(( $+functions[_berg__notification__help__view_commands] )) ||
_berg__notification__help__view_commands() {
    local commands; commands=()
    _describe -t commands 'berg notification help view commands' commands "$@"
}
(( $+functions[_berg__notification__list_commands] )) ||
_berg__notification__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg notification list commands' commands "$@"
}
(( $+functions[_berg__notification__view_commands] )) ||
_berg__notification__view_commands() {
    local commands; commands=()
    _describe -t commands 'berg notification view commands' commands "$@"
}
(( $+functions[_berg__pull_commands] )) ||
_berg__pull_commands() {
    local commands; commands=(
'list:List pull requests' \
'create:Create a pull request' \
'edit:Edit pull request' \
'view:View details of a selected pull request' \
'comment:Add comment to selected pull request' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg pull commands' commands "$@"
}
(( $+functions[_berg__pull__comment_commands] )) ||
_berg__pull__comment_commands() {
    local commands; commands=()
    _describe -t commands 'berg pull comment commands' commands "$@"
}
(( $+functions[_berg__pull__create_commands] )) ||
_berg__pull__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg pull create commands' commands "$@"
}
(( $+functions[_berg__pull__edit_commands] )) ||
_berg__pull__edit_commands() {
    local commands; commands=()
    _describe -t commands 'berg pull edit commands' commands "$@"
}
(( $+functions[_berg__pull__help_commands] )) ||
_berg__pull__help_commands() {
    local commands; commands=(
'list:List pull requests' \
'create:Create a pull request' \
'edit:Edit pull request' \
'view:View details of a selected pull request' \
'comment:Add comment to selected pull request' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg pull help commands' commands "$@"
}
(( $+functions[_berg__pull__help__comment_commands] )) ||
_berg__pull__help__comment_commands() {
    local commands; commands=()
    _describe -t commands 'berg pull help comment commands' commands "$@"
}
(( $+functions[_berg__pull__help__create_commands] )) ||
_berg__pull__help__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg pull help create commands' commands "$@"
}
(( $+functions[_berg__pull__help__edit_commands] )) ||
_berg__pull__help__edit_commands() {
    local commands; commands=()
    _describe -t commands 'berg pull help edit commands' commands "$@"
}
(( $+functions[_berg__pull__help__help_commands] )) ||
_berg__pull__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg pull help help commands' commands "$@"
}
(( $+functions[_berg__pull__help__list_commands] )) ||
_berg__pull__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg pull help list commands' commands "$@"
}
(( $+functions[_berg__pull__help__view_commands] )) ||
_berg__pull__help__view_commands() {
    local commands; commands=()
    _describe -t commands 'berg pull help view commands' commands "$@"
}
(( $+functions[_berg__pull__list_commands] )) ||
_berg__pull__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg pull list commands' commands "$@"
}
(( $+functions[_berg__pull__view_commands] )) ||
_berg__pull__view_commands() {
    local commands; commands=()
    _describe -t commands 'berg pull view commands' commands "$@"
}
(( $+functions[_berg__release_commands] )) ||
_berg__release_commands() {
    local commands; commands=(
'create:Create a release' \
'list:List all releases in the current repository' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg release commands' commands "$@"
}
(( $+functions[_berg__release__create_commands] )) ||
_berg__release__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg release create commands' commands "$@"
}
(( $+functions[_berg__release__help_commands] )) ||
_berg__release__help_commands() {
    local commands; commands=(
'create:Create a release' \
'list:List all releases in the current repository' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg release help commands' commands "$@"
}
(( $+functions[_berg__release__help__create_commands] )) ||
_berg__release__help__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg release help create commands' commands "$@"
}
(( $+functions[_berg__release__help__help_commands] )) ||
_berg__release__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg release help help commands' commands "$@"
}
(( $+functions[_berg__release__help__list_commands] )) ||
_berg__release__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg release help list commands' commands "$@"
}
(( $+functions[_berg__release__list_commands] )) ||
_berg__release__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg release list commands' commands "$@"
}
(( $+functions[_berg__repo_commands] )) ||
_berg__repo_commands() {
    local commands; commands=(
'create:Create a new repository' \
'clone:Clone a repository' \
'delete:Delete a repository' \
'fork:Fork a repository' \
'info:Display short summary of the current repository' \
'assignees:List available assignee candidates' \
'migrate:Create a new repository' \
'list:List user current active repositories' \
'open:Open the current repository in the browser' \
'branch:Branch subcommands' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg repo commands' commands "$@"
}
(( $+functions[_berg__repo__assignees_commands] )) ||
_berg__repo__assignees_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo assignees commands' commands "$@"
}
(( $+functions[_berg__repo__branch_commands] )) ||
_berg__repo__branch_commands() {
    local commands; commands=(
'list:List branches' \
'delete:Delete a branch' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg repo branch commands' commands "$@"
}
(( $+functions[_berg__repo__branch__delete_commands] )) ||
_berg__repo__branch__delete_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo branch delete commands' commands "$@"
}
(( $+functions[_berg__repo__branch__help_commands] )) ||
_berg__repo__branch__help_commands() {
    local commands; commands=(
'list:List branches' \
'delete:Delete a branch' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg repo branch help commands' commands "$@"
}
(( $+functions[_berg__repo__branch__help__delete_commands] )) ||
_berg__repo__branch__help__delete_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo branch help delete commands' commands "$@"
}
(( $+functions[_berg__repo__branch__help__help_commands] )) ||
_berg__repo__branch__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo branch help help commands' commands "$@"
}
(( $+functions[_berg__repo__branch__help__list_commands] )) ||
_berg__repo__branch__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo branch help list commands' commands "$@"
}
(( $+functions[_berg__repo__branch__list_commands] )) ||
_berg__repo__branch__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo branch list commands' commands "$@"
}
(( $+functions[_berg__repo__clone_commands] )) ||
_berg__repo__clone_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo clone commands' commands "$@"
}
(( $+functions[_berg__repo__create_commands] )) ||
_berg__repo__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo create commands' commands "$@"
}
(( $+functions[_berg__repo__delete_commands] )) ||
_berg__repo__delete_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo delete commands' commands "$@"
}
(( $+functions[_berg__repo__fork_commands] )) ||
_berg__repo__fork_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo fork commands' commands "$@"
}
(( $+functions[_berg__repo__help_commands] )) ||
_berg__repo__help_commands() {
    local commands; commands=(
'create:Create a new repository' \
'clone:Clone a repository' \
'delete:Delete a repository' \
'fork:Fork a repository' \
'info:Display short summary of the current repository' \
'assignees:List available assignee candidates' \
'migrate:Create a new repository' \
'list:List user current active repositories' \
'open:Open the current repository in the browser' \
'branch:Branch subcommands' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg repo help commands' commands "$@"
}
(( $+functions[_berg__repo__help__assignees_commands] )) ||
_berg__repo__help__assignees_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo help assignees commands' commands "$@"
}
(( $+functions[_berg__repo__help__branch_commands] )) ||
_berg__repo__help__branch_commands() {
    local commands; commands=(
'list:List branches' \
'delete:Delete a branch' \
    )
    _describe -t commands 'berg repo help branch commands' commands "$@"
}
(( $+functions[_berg__repo__help__branch__delete_commands] )) ||
_berg__repo__help__branch__delete_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo help branch delete commands' commands "$@"
}
(( $+functions[_berg__repo__help__branch__list_commands] )) ||
_berg__repo__help__branch__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo help branch list commands' commands "$@"
}
(( $+functions[_berg__repo__help__clone_commands] )) ||
_berg__repo__help__clone_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo help clone commands' commands "$@"
}
(( $+functions[_berg__repo__help__create_commands] )) ||
_berg__repo__help__create_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo help create commands' commands "$@"
}
(( $+functions[_berg__repo__help__delete_commands] )) ||
_berg__repo__help__delete_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo help delete commands' commands "$@"
}
(( $+functions[_berg__repo__help__fork_commands] )) ||
_berg__repo__help__fork_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo help fork commands' commands "$@"
}
(( $+functions[_berg__repo__help__help_commands] )) ||
_berg__repo__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo help help commands' commands "$@"
}
(( $+functions[_berg__repo__help__info_commands] )) ||
_berg__repo__help__info_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo help info commands' commands "$@"
}
(( $+functions[_berg__repo__help__list_commands] )) ||
_berg__repo__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo help list commands' commands "$@"
}
(( $+functions[_berg__repo__help__migrate_commands] )) ||
_berg__repo__help__migrate_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo help migrate commands' commands "$@"
}
(( $+functions[_berg__repo__help__open_commands] )) ||
_berg__repo__help__open_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo help open commands' commands "$@"
}
(( $+functions[_berg__repo__info_commands] )) ||
_berg__repo__info_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo info commands' commands "$@"
}
(( $+functions[_berg__repo__list_commands] )) ||
_berg__repo__list_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo list commands' commands "$@"
}
(( $+functions[_berg__repo__migrate_commands] )) ||
_berg__repo__migrate_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo migrate commands' commands "$@"
}
(( $+functions[_berg__repo__open_commands] )) ||
_berg__repo__open_commands() {
    local commands; commands=()
    _describe -t commands 'berg repo open commands' commands "$@"
}
(( $+functions[_berg__user_commands] )) ||
_berg__user_commands() {
    local commands; commands=(
'info:Display short summary of the authenticated user account' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg user commands' commands "$@"
}
(( $+functions[_berg__user__help_commands] )) ||
_berg__user__help_commands() {
    local commands; commands=(
'info:Display short summary of the authenticated user account' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'berg user help commands' commands "$@"
}
(( $+functions[_berg__user__help__help_commands] )) ||
_berg__user__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'berg user help help commands' commands "$@"
}
(( $+functions[_berg__user__help__info_commands] )) ||
_berg__user__help__info_commands() {
    local commands; commands=()
    _describe -t commands 'berg user help info commands' commands "$@"
}
(( $+functions[_berg__user__info_commands] )) ||
_berg__user__info_commands() {
    local commands; commands=()
    _describe -t commands 'berg user info commands' commands "$@"
}

if [ "$funcstack[1]" = "_berg" ]; then
    _berg "$@"
else
    compdef _berg berg
fi
