#compdef bite

autoload -U is-at-least

_bite() {
    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[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_bite_commands" \
"*::: :->bite" \
&& ret=0
    case $state in
    (bite)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bite-command-$line[1]:"
        case $line[1] in
            (bugzilla)
_arguments "${_arguments_options[@]}" : \
'-c+[service connection]:CONNECTION:_default' \
'--connection=[service connection]:CONNECTION:_default' \
'-C+[concurrent requests limit]:VALUE:_default' \
'--concurrent=[concurrent requests limit]:VALUE:_default' \
'(-I --insecure)--certificate=[custom root certificate]:PATH:_default' \
'-P+[custom proxy]:URL:_default' \
'--proxy=[custom proxy]:URL:_default' \
'-t+[request timeout in seconds]:SECONDS:_default' \
'--timeout=[request timeout in seconds]:SECONDS:_default' \
'-k+[API key]:KEY:_default' \
'--key=[API key]:KEY:_default' \
'-u+[username]:USER:_default' \
'--user=[username]:USER:_default' \
'-p+[password]:PASSWORD:_default' \
'--password=[password]:PASSWORD:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'(--certificate)-I[ignore invalid service certificates]' \
'(--certificate)--insecure[ignore invalid service certificates]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_bite__subcmd__bugzilla_commands" \
"*::: :->bugzilla" \
&& ret=0

    case $state in
    (bugzilla)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bite-bugzilla-command-$line[1]:"
        case $line[1] in
            (attachment)
_arguments "${_arguments_options[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_bite__subcmd__bugzilla__subcmd__attachment_commands" \
"*::: :->attachment" \
&& ret=0

    case $state in
    (attachment)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bite-bugzilla-attachment-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
'-c+[attachment comment]:COMMENT:_default' \
'--comment=[attachment comment]:COMMENT:_default' \
'-d+[attachment description]:DESCRIPTION:_default' \
'--description=[attachment description]:DESCRIPTION:_default' \
'*-f+[attachment flags]:VALUE[,...]:_default' \
'*--flags=[attachment flags]:VALUE[,...]:_default' \
'(-C --compress --auto-compress --auto-truncate -p --patch)-m+[attachment MIME type]:TYPE:_default' \
'(-C --compress --auto-compress --auto-truncate -p --patch)--mime=[attachment MIME type]:TYPE:_default' \
'-n+[attachment file name]:VALUE:_default' \
'--name=[attachment file name]:VALUE:_default' \
'(-C --compress --auto-compress --auto-truncate -m --mime)-p+[attachment is a patch]::BOOL:(true false)' \
'(-C --compress --auto-compress --auto-truncate -m --mime)--patch=[attachment is a patch]::BOOL:(true false)' \
'-P+[attachment is private]::BOOL:(true false)' \
'--private=[attachment is private]::BOOL:(true false)' \
'(-m --mime -p --patch)-C+[compress attachment]::COMPRESS:(bz2 gz lz xz zstd)' \
'(-m --mime -p --patch)--compress=[compress attachment]::COMPRESS:(bz2 gz lz xz zstd)' \
'(-m --mime -p --patch)--auto-compress=[auto-compress attachment]::SIZE:_default' \
'(-m --mime -p --patch)--auto-truncate=[auto-truncate text attachment]::LINES:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
':ids -- bug IDs or aliases:_default' \
'*::files -- files to attach:_files' \
&& ret=0
;;
(c)
_arguments "${_arguments_options[@]}" : \
'-c+[attachment comment]:COMMENT:_default' \
'--comment=[attachment comment]:COMMENT:_default' \
'-d+[attachment description]:DESCRIPTION:_default' \
'--description=[attachment description]:DESCRIPTION:_default' \
'*-f+[attachment flags]:VALUE[,...]:_default' \
'*--flags=[attachment flags]:VALUE[,...]:_default' \
'(-C --compress --auto-compress --auto-truncate -p --patch)-m+[attachment MIME type]:TYPE:_default' \
'(-C --compress --auto-compress --auto-truncate -p --patch)--mime=[attachment MIME type]:TYPE:_default' \
'-n+[attachment file name]:VALUE:_default' \
'--name=[attachment file name]:VALUE:_default' \
'(-C --compress --auto-compress --auto-truncate -m --mime)-p+[attachment is a patch]::BOOL:(true false)' \
'(-C --compress --auto-compress --auto-truncate -m --mime)--patch=[attachment is a patch]::BOOL:(true false)' \
'-P+[attachment is private]::BOOL:(true false)' \
'--private=[attachment is private]::BOOL:(true false)' \
'(-m --mime -p --patch)-C+[compress attachment]::COMPRESS:(bz2 gz lz xz zstd)' \
'(-m --mime -p --patch)--compress=[compress attachment]::COMPRESS:(bz2 gz lz xz zstd)' \
'(-m --mime -p --patch)--auto-compress=[auto-compress attachment]::SIZE:_default' \
'(-m --mime -p --patch)--auto-truncate=[auto-truncate text attachment]::LINES:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
':ids -- bug IDs or aliases:_default' \
'*::files -- files to attach:_files' \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
'(-d --dir -l --list)-o+[output attachment data]:FILE:_default' \
'(-d --dir -l --list)--output=[output attachment data]:FILE:_default' \
'(-l --list -o --output)-d+[save attachments into a base directory]:PATH:_default' \
'(-l --list -o --output)--dir=[save attachments into a base directory]:PATH:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'(-d --dir -o --output)-l[list attachment metadata]' \
'(-d --dir -o --output)--list[list attachment metadata]' \
'-O[include outdated attachments]' \
'--outdated[include outdated attachments]' \
'-i[request attachments from bug IDs or aliases]' \
'--item-ids[request attachments from bug IDs or aliases]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- attachment IDs or bug IDs/aliases:_default' \
&& ret=0
;;
(g)
_arguments "${_arguments_options[@]}" : \
'(-d --dir -l --list)-o+[output attachment data]:FILE:_default' \
'(-d --dir -l --list)--output=[output attachment data]:FILE:_default' \
'(-l --list -o --output)-d+[save attachments into a base directory]:PATH:_default' \
'(-l --list -o --output)--dir=[save attachments into a base directory]:PATH:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'(-d --dir -o --output)-l[list attachment metadata]' \
'(-d --dir -o --output)--list[list attachment metadata]' \
'-O[include outdated attachments]' \
'--outdated[include outdated attachments]' \
'-i[request attachments from bug IDs or aliases]' \
'--item-ids[request attachments from bug IDs or aliases]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- attachment IDs or bug IDs/aliases:_default' \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
'-c+[update comment]:VALUE:_default' \
'--comment=[update comment]:VALUE:_default' \
'-d+[update description]:VALUE:_default' \
'--description=[update description]:VALUE:_default' \
'*-f+[update flags]:VALUE[,...]:_default' \
'*--flags=[update flags]:VALUE[,...]:_default' \
'(-p --patch)-m+[update MIME type]:TYPE:_default' \
'(-p --patch)--mime=[update MIME type]:TYPE:_default' \
'-n+[update file name]:VALUE:_default' \
'--name=[update file name]:VALUE:_default' \
'-o+[update obsolete status]::BOOL:(true false)' \
'--obsolete=[update obsolete status]::BOOL:(true false)' \
'(-m --mime)-p+[update patch status]::BOOL:(true false)' \
'(-m --mime)--patch=[update patch status]::BOOL:(true false)' \
'-P+[update private status]::BOOL:(true false)' \
'--private=[update private status]::BOOL:(true false)' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- attachment IDs:_default' \
&& ret=0
;;
(u)
_arguments "${_arguments_options[@]}" : \
'-c+[update comment]:VALUE:_default' \
'--comment=[update comment]:VALUE:_default' \
'-d+[update description]:VALUE:_default' \
'--description=[update description]:VALUE:_default' \
'*-f+[update flags]:VALUE[,...]:_default' \
'*--flags=[update flags]:VALUE[,...]:_default' \
'(-p --patch)-m+[update MIME type]:TYPE:_default' \
'(-p --patch)--mime=[update MIME type]:TYPE:_default' \
'-n+[update file name]:VALUE:_default' \
'--name=[update file name]:VALUE:_default' \
'-o+[update obsolete status]::BOOL:(true false)' \
'--obsolete=[update obsolete status]::BOOL:(true false)' \
'(-m --mime)-p+[update patch status]::BOOL:(true false)' \
'(-m --mime)--patch=[update patch status]::BOOL:(true false)' \
'-P+[update private status]::BOOL:(true false)' \
'--private=[update private status]::BOOL:(true false)' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- attachment IDs:_default' \
&& ret=0
;;
        esac
    ;;
esac
;;
(a)
_arguments "${_arguments_options[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_bite__subcmd__bugzilla__subcmd__attachment_commands" \
"*::: :->attachment" \
&& ret=0

    case $state in
    (attachment)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bite-bugzilla-attachment-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
'-c+[attachment comment]:COMMENT:_default' \
'--comment=[attachment comment]:COMMENT:_default' \
'-d+[attachment description]:DESCRIPTION:_default' \
'--description=[attachment description]:DESCRIPTION:_default' \
'*-f+[attachment flags]:VALUE[,...]:_default' \
'*--flags=[attachment flags]:VALUE[,...]:_default' \
'(-C --compress --auto-compress --auto-truncate -p --patch)-m+[attachment MIME type]:TYPE:_default' \
'(-C --compress --auto-compress --auto-truncate -p --patch)--mime=[attachment MIME type]:TYPE:_default' \
'-n+[attachment file name]:VALUE:_default' \
'--name=[attachment file name]:VALUE:_default' \
'(-C --compress --auto-compress --auto-truncate -m --mime)-p+[attachment is a patch]::BOOL:(true false)' \
'(-C --compress --auto-compress --auto-truncate -m --mime)--patch=[attachment is a patch]::BOOL:(true false)' \
'-P+[attachment is private]::BOOL:(true false)' \
'--private=[attachment is private]::BOOL:(true false)' \
'(-m --mime -p --patch)-C+[compress attachment]::COMPRESS:(bz2 gz lz xz zstd)' \
'(-m --mime -p --patch)--compress=[compress attachment]::COMPRESS:(bz2 gz lz xz zstd)' \
'(-m --mime -p --patch)--auto-compress=[auto-compress attachment]::SIZE:_default' \
'(-m --mime -p --patch)--auto-truncate=[auto-truncate text attachment]::LINES:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
':ids -- bug IDs or aliases:_default' \
'*::files -- files to attach:_files' \
&& ret=0
;;
(c)
_arguments "${_arguments_options[@]}" : \
'-c+[attachment comment]:COMMENT:_default' \
'--comment=[attachment comment]:COMMENT:_default' \
'-d+[attachment description]:DESCRIPTION:_default' \
'--description=[attachment description]:DESCRIPTION:_default' \
'*-f+[attachment flags]:VALUE[,...]:_default' \
'*--flags=[attachment flags]:VALUE[,...]:_default' \
'(-C --compress --auto-compress --auto-truncate -p --patch)-m+[attachment MIME type]:TYPE:_default' \
'(-C --compress --auto-compress --auto-truncate -p --patch)--mime=[attachment MIME type]:TYPE:_default' \
'-n+[attachment file name]:VALUE:_default' \
'--name=[attachment file name]:VALUE:_default' \
'(-C --compress --auto-compress --auto-truncate -m --mime)-p+[attachment is a patch]::BOOL:(true false)' \
'(-C --compress --auto-compress --auto-truncate -m --mime)--patch=[attachment is a patch]::BOOL:(true false)' \
'-P+[attachment is private]::BOOL:(true false)' \
'--private=[attachment is private]::BOOL:(true false)' \
'(-m --mime -p --patch)-C+[compress attachment]::COMPRESS:(bz2 gz lz xz zstd)' \
'(-m --mime -p --patch)--compress=[compress attachment]::COMPRESS:(bz2 gz lz xz zstd)' \
'(-m --mime -p --patch)--auto-compress=[auto-compress attachment]::SIZE:_default' \
'(-m --mime -p --patch)--auto-truncate=[auto-truncate text attachment]::LINES:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
':ids -- bug IDs or aliases:_default' \
'*::files -- files to attach:_files' \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
'(-d --dir -l --list)-o+[output attachment data]:FILE:_default' \
'(-d --dir -l --list)--output=[output attachment data]:FILE:_default' \
'(-l --list -o --output)-d+[save attachments into a base directory]:PATH:_default' \
'(-l --list -o --output)--dir=[save attachments into a base directory]:PATH:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'(-d --dir -o --output)-l[list attachment metadata]' \
'(-d --dir -o --output)--list[list attachment metadata]' \
'-O[include outdated attachments]' \
'--outdated[include outdated attachments]' \
'-i[request attachments from bug IDs or aliases]' \
'--item-ids[request attachments from bug IDs or aliases]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- attachment IDs or bug IDs/aliases:_default' \
&& ret=0
;;
(g)
_arguments "${_arguments_options[@]}" : \
'(-d --dir -l --list)-o+[output attachment data]:FILE:_default' \
'(-d --dir -l --list)--output=[output attachment data]:FILE:_default' \
'(-l --list -o --output)-d+[save attachments into a base directory]:PATH:_default' \
'(-l --list -o --output)--dir=[save attachments into a base directory]:PATH:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'(-d --dir -o --output)-l[list attachment metadata]' \
'(-d --dir -o --output)--list[list attachment metadata]' \
'-O[include outdated attachments]' \
'--outdated[include outdated attachments]' \
'-i[request attachments from bug IDs or aliases]' \
'--item-ids[request attachments from bug IDs or aliases]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- attachment IDs or bug IDs/aliases:_default' \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
'-c+[update comment]:VALUE:_default' \
'--comment=[update comment]:VALUE:_default' \
'-d+[update description]:VALUE:_default' \
'--description=[update description]:VALUE:_default' \
'*-f+[update flags]:VALUE[,...]:_default' \
'*--flags=[update flags]:VALUE[,...]:_default' \
'(-p --patch)-m+[update MIME type]:TYPE:_default' \
'(-p --patch)--mime=[update MIME type]:TYPE:_default' \
'-n+[update file name]:VALUE:_default' \
'--name=[update file name]:VALUE:_default' \
'-o+[update obsolete status]::BOOL:(true false)' \
'--obsolete=[update obsolete status]::BOOL:(true false)' \
'(-m --mime)-p+[update patch status]::BOOL:(true false)' \
'(-m --mime)--patch=[update patch status]::BOOL:(true false)' \
'-P+[update private status]::BOOL:(true false)' \
'--private=[update private status]::BOOL:(true false)' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- attachment IDs:_default' \
&& ret=0
;;
(u)
_arguments "${_arguments_options[@]}" : \
'-c+[update comment]:VALUE:_default' \
'--comment=[update comment]:VALUE:_default' \
'-d+[update description]:VALUE:_default' \
'--description=[update description]:VALUE:_default' \
'*-f+[update flags]:VALUE[,...]:_default' \
'*--flags=[update flags]:VALUE[,...]:_default' \
'(-p --patch)-m+[update MIME type]:TYPE:_default' \
'(-p --patch)--mime=[update MIME type]:TYPE:_default' \
'-n+[update file name]:VALUE:_default' \
'--name=[update file name]:VALUE:_default' \
'-o+[update obsolete status]::BOOL:(true false)' \
'--obsolete=[update obsolete status]::BOOL:(true false)' \
'(-m --mime)-p+[update patch status]::BOOL:(true false)' \
'(-m --mime)--patch=[update patch status]::BOOL:(true false)' \
'-P+[update private status]::BOOL:(true false)' \
'--private=[update private status]::BOOL:(true false)' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- attachment IDs:_default' \
&& ret=0
;;
        esac
    ;;
esac
;;
(comment)
_arguments "${_arguments_options[@]}" : \
'-a+[comment includes attachment]::BOOL:(true false)' \
'--attachment=[comment includes attachment]::BOOL:(true false)' \
'-c+[comment created at this time or later]:TIME:_default' \
'--created=[comment created at this time or later]:TIME:_default' \
'-R+[user who commented]:USER:_default' \
'--creator=[user who commented]:USER:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- bug IDs or aliases:_default' \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
'(--from)--from-bug=[read attributes from an existing bug]:ID:_default' \
'*--from=[read attributes from templates]:NAME[,...]:_default' \
'--to=[write attributes to template]:NAME:_default' \
'*-A+[set aliases]:VALUE[,...]:_default' \
'*--alias=[set aliases]:VALUE[,...]:_default' \
'-a+[set assignee]:USER:_default' \
'--assignee=[set assignee]:USER:_default' \
'*-b+[set blockers]:ID[,...]:_default' \
'*--blocks=[set blockers]:ID[,...]:_default' \
'*--cc=[set CC users]:USER[,...]:_default' \
'-C+[set component]:COMPONENT:_default' \
'--component=[set component]:COMPONENT:_default' \
'*--cf=[set custom field]:NAME:_default:NAME:_default' \
'*-d+[set dependencies]:ID[,...]:_default' \
'*--depends=[set dependencies]:ID[,...]:_default' \
'-D+[set description]:DESCRIPTION:_default' \
'--description=[set description]:DESCRIPTION:_default' \
'*-F+[set flags]:VALUE[,...]:_default' \
'*--flags=[set flags]:VALUE[,...]:_default' \
'*-g+[set groups]::VALUE[,...]:_default' \
'*--groups=[set groups]::VALUE[,...]:_default' \
'*-k+[set keywords]:VALUE[,...]:_default' \
'*--keywords=[set keywords]:VALUE[,...]:_default' \
'--os=[set operating system]:OS:_default' \
'--platform=[set platform]:PLATFORM:_default' \
'--priority=[set priority]:PRIORITY:_default' \
'-p+[set product]:PRODUCT:_default' \
'--product=[set product]:PRODUCT:_default' \
'--qa=[set QA contact]:USER:_default' \
'-r+[set resolution]:RESOLUTION:_default' \
'--resolution=[set resolution]:RESOLUTION:_default' \
'*-U+[set external bug URLs]:VALUE[,...]:_default' \
'*--see-also=[set external bug URLs]:VALUE[,...]:_default' \
'--severity=[set severity]:SEVERITY:_default' \
'-s+[set status]:STATUS:_default' \
'--status=[set status]:STATUS:_default' \
'-S+[set summary]:SUMMARY:_default' \
'--summary=[set summary]:SUMMARY:_default' \
'-T+[set target milestone]:MILESTONE:_default' \
'--target=[set target milestone]:MILESTONE:_default' \
'-u+[set URL]:URL:_default' \
'--url=[set URL]:URL:_default' \
'-V+[set version]:VERSION:_default' \
'--version=[set version]:VERSION:_default' \
'-w+[set whiteboard]:WHITEBOARD:_default' \
'--whiteboard=[set whiteboard]:WHITEBOARD:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-n[skip service interaction]' \
'--dry-run[skip service interaction]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(c)
_arguments "${_arguments_options[@]}" : \
'(--from)--from-bug=[read attributes from an existing bug]:ID:_default' \
'*--from=[read attributes from templates]:NAME[,...]:_default' \
'--to=[write attributes to template]:NAME:_default' \
'*-A+[set aliases]:VALUE[,...]:_default' \
'*--alias=[set aliases]:VALUE[,...]:_default' \
'-a+[set assignee]:USER:_default' \
'--assignee=[set assignee]:USER:_default' \
'*-b+[set blockers]:ID[,...]:_default' \
'*--blocks=[set blockers]:ID[,...]:_default' \
'*--cc=[set CC users]:USER[,...]:_default' \
'-C+[set component]:COMPONENT:_default' \
'--component=[set component]:COMPONENT:_default' \
'*--cf=[set custom field]:NAME:_default:NAME:_default' \
'*-d+[set dependencies]:ID[,...]:_default' \
'*--depends=[set dependencies]:ID[,...]:_default' \
'-D+[set description]:DESCRIPTION:_default' \
'--description=[set description]:DESCRIPTION:_default' \
'*-F+[set flags]:VALUE[,...]:_default' \
'*--flags=[set flags]:VALUE[,...]:_default' \
'*-g+[set groups]::VALUE[,...]:_default' \
'*--groups=[set groups]::VALUE[,...]:_default' \
'*-k+[set keywords]:VALUE[,...]:_default' \
'*--keywords=[set keywords]:VALUE[,...]:_default' \
'--os=[set operating system]:OS:_default' \
'--platform=[set platform]:PLATFORM:_default' \
'--priority=[set priority]:PRIORITY:_default' \
'-p+[set product]:PRODUCT:_default' \
'--product=[set product]:PRODUCT:_default' \
'--qa=[set QA contact]:USER:_default' \
'-r+[set resolution]:RESOLUTION:_default' \
'--resolution=[set resolution]:RESOLUTION:_default' \
'*-U+[set external bug URLs]:VALUE[,...]:_default' \
'*--see-also=[set external bug URLs]:VALUE[,...]:_default' \
'--severity=[set severity]:SEVERITY:_default' \
'-s+[set status]:STATUS:_default' \
'--status=[set status]:STATUS:_default' \
'-S+[set summary]:SUMMARY:_default' \
'--summary=[set summary]:SUMMARY:_default' \
'-T+[set target milestone]:MILESTONE:_default' \
'--target=[set target milestone]:MILESTONE:_default' \
'-u+[set URL]:URL:_default' \
'--url=[set URL]:URL:_default' \
'-V+[set version]:VERSION:_default' \
'--version=[set version]:VERSION:_default' \
'-w+[set whiteboard]:WHITEBOARD:_default' \
'--whiteboard=[set whiteboard]:WHITEBOARD:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-n[skip service interaction]' \
'--dry-run[skip service interaction]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(fields)
_arguments "${_arguments_options[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-A[disable attachments]' \
'--no-attachments[disable attachments]' \
'-C[disable comments]' \
'--no-comments[disable comments]' \
'-H[disable history]' \
'--no-history[disable history]' \
'-b[open in browser]' \
'--browser[open in browser]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- bug IDs or aliases:_default' \
&& ret=0
;;
(g)
_arguments "${_arguments_options[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-A[disable attachments]' \
'--no-attachments[disable attachments]' \
'-C[disable comments]' \
'--no-comments[disable comments]' \
'-H[disable history]' \
'--no-history[disable history]' \
'-b[open in browser]' \
'--browser[open in browser]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- bug IDs or aliases:_default' \
&& ret=0
;;
(history)
_arguments "${_arguments_options[@]}" : \
'-c+[event occurred at this time or later]:TIME:_default' \
'--created=[event occurred at this time or later]:TIME:_default' \
'-R+[user who made change]:USER:_default' \
'--creator=[user who made change]:USER:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- bug IDs or aliases:_default' \
&& ret=0
;;
(search)
_arguments "${_arguments_options[@]}" : \
'*--from=[read attributes from templates]:NAME[,...]:_default' \
'--to=[write attributes to template]:NAME:_default' \
'-f+[fields to output]:FIELD[,...]:_default' \
'--fields=[fields to output]:FIELD[,...]:_default' \
'-l+[limit result count]:LIMIT:_default' \
'--limit=[limit result count]:LIMIT:_default' \
'-O+[result starting position]:OFFSET:_default' \
'--offset=[result starting position]:OFFSET:_default' \
'-o+[order query results]:FIELD[,...]:_default' \
'--order=[order query results]:FIELD[,...]:_default' \
'-S+[search using quicksearch syntax]:QUERY:_default' \
'--quicksearch=[search using quicksearch syntax]:QUERY:_default' \
'*-A+[restrict by alias]::VALUE[,...]:_default' \
'*--alias=[restrict by alias]::VALUE[,...]:_default' \
'-@+[restrict by attachments]::VALUE[,...]:_default' \
'--attachments=[restrict by attachments]::VALUE[,...]:_default' \
'*-B+[restrict by blockers]::ID[,...]:_default' \
'*--blocks=[restrict by blockers]::ID[,...]:_default' \
'-C+[restrict by component]:VALUE[,...]:_default' \
'--component=[restrict by component]:VALUE[,...]:_default' \
'*--cf=[restrict by custom field]:NAME[=VALUE]:_default' \
'*-D+[restrict by dependencies]::ID[,...]:_default' \
'*--depends=[restrict by dependencies]::ID[,...]:_default' \
'*-F+[restrict by flag]::VALUE[,...]:_default' \
'*--flags=[restrict by flag]::VALUE[,...]:_default' \
'*-g+[restrict by group]::VALUE[,...]:_default' \
'*--groups=[restrict by group]::VALUE[,...]:_default' \
'*--id=[restrict by ID]:ID[,...]:_default' \
'*-k+[restrict by keyword]::VALUE[,...]:_default' \
'*--keywords=[restrict by keyword]::VALUE[,...]:_default' \
'--os=[restrict by operating system]:VALUE[,...]:_default' \
'--platform=[restrict by platform]:VALUE[,...]:_default' \
'--priority=[restrict by priority]:VALUE[,...]:_default' \
'-p+[restrict by product]:VALUE[,...]:_default' \
'--product=[restrict by product]:VALUE[,...]:_default' \
'-r+[restrict by resolution]:VALUE[,...]:_default' \
'--resolution=[restrict by resolution]:VALUE[,...]:_default' \
'*-U+[restrict by tracker URLs]::VALUE[,...]:_default' \
'*--see-also=[restrict by tracker URLs]::VALUE[,...]:_default' \
'--severity=[restrict by severity]:VALUE[,...]:_default' \
'*-s+[restrict by status]:VALUE[,...]:_default' \
'*--status=[restrict by status]:VALUE[,...]:_default' \
'*-t+[restrict by personal tags]::VALUE[,...]:_default' \
'*--tags=[restrict by personal tags]::VALUE[,...]:_default' \
'-T+[restrict by target milestone]:VALUE[,...]:_default' \
'--target=[restrict by target milestone]:VALUE[,...]:_default' \
'*--url=[restrict by URL]::VALUE[,...]:_default' \
'-V+[restrict by version]:VALUE[,...]:_default' \
'--version=[restrict by version]:VALUE[,...]:_default' \
'*-w+[restrict by whiteboard]::VALUE[,...]:_default' \
'*--whiteboard=[restrict by whiteboard]::VALUE[,...]:_default' \
'*--attachment-description=[restrict by description]:VALUE[,...]:_default' \
'*--attachment-filename=[restrict by file name]:VALUE[,...]:_default' \
'*--attachment-mime=[restrict by MIME type]:VALUE[,...]:_default' \
'--attachment-is-obsolete=[restrict by obsolete status]::BOOL:(true false)' \
'--attachment-is-patch=[restrict by patch status]::BOOL:(true false)' \
'--attachment-is-private=[restrict by private status]::BOOL:(true false)' \
'--comments=[restrict by comment count]:COMMENTS:_default' \
'--votes=[restrict by vote count]:VOTES:_default' \
'*--changed=[fields changed within time interval]:FIELD[,...][=TIME]:_default' \
'*--changed-by=[fields changed by users]:FIELD[,...]=USER[,...]:_default' \
'*--changed-from=[fields changed from value]:FIELD=VALUE:_default' \
'*--changed-to=[fields changed to value]:FIELD=VALUE:_default' \
'-c+[restrict by creation time]:TIME:_default' \
'--created=[restrict by creation time]:TIME:_default' \
'-u+[restrict by update time]:TIME:_default' \
'--updated=[restrict by update time]:TIME:_default' \
'--closed=[restrict by closed time]:TIME:_default' \
'*-a+[user is assignee]:USER[,...]:_default' \
'*--assignee=[user is assignee]:USER[,...]:_default' \
'*--attacher=[user created attachment]:USER[,...]:_default' \
'*--cc=[user in CC list]::USER[,...]:_default' \
'*--commenter=[user who commented]:USER[,...]:_default' \
'*--flagger=[user who set flag]:USER[,...]:_default' \
'*--qa=[user is QA contact]::USER[,...]:_default' \
'*-R+[user who reported]:USER[,...]:_default' \
'*--reporter=[user who reported]:USER[,...]:_default' \
'*--comment=[restrict by comment content]:TERM:_default' \
'--comment-is-private=[restrict by private status]::BOOL:(true false)' \
'*--comment-tag=[restrict by tag]:VALUE[,...]:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-b[open in browser]' \
'--browser[open in browser]' \
'--json[output in JSON format]' \
'-n[skip service interaction]' \
'--dry-run[skip service interaction]' \
'--paged[enable paging support]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::summary -- restrict by summary content:_default' \
&& ret=0
;;
(s)
_arguments "${_arguments_options[@]}" : \
'*--from=[read attributes from templates]:NAME[,...]:_default' \
'--to=[write attributes to template]:NAME:_default' \
'-f+[fields to output]:FIELD[,...]:_default' \
'--fields=[fields to output]:FIELD[,...]:_default' \
'-l+[limit result count]:LIMIT:_default' \
'--limit=[limit result count]:LIMIT:_default' \
'-O+[result starting position]:OFFSET:_default' \
'--offset=[result starting position]:OFFSET:_default' \
'-o+[order query results]:FIELD[,...]:_default' \
'--order=[order query results]:FIELD[,...]:_default' \
'-S+[search using quicksearch syntax]:QUERY:_default' \
'--quicksearch=[search using quicksearch syntax]:QUERY:_default' \
'*-A+[restrict by alias]::VALUE[,...]:_default' \
'*--alias=[restrict by alias]::VALUE[,...]:_default' \
'-@+[restrict by attachments]::VALUE[,...]:_default' \
'--attachments=[restrict by attachments]::VALUE[,...]:_default' \
'*-B+[restrict by blockers]::ID[,...]:_default' \
'*--blocks=[restrict by blockers]::ID[,...]:_default' \
'-C+[restrict by component]:VALUE[,...]:_default' \
'--component=[restrict by component]:VALUE[,...]:_default' \
'*--cf=[restrict by custom field]:NAME[=VALUE]:_default' \
'*-D+[restrict by dependencies]::ID[,...]:_default' \
'*--depends=[restrict by dependencies]::ID[,...]:_default' \
'*-F+[restrict by flag]::VALUE[,...]:_default' \
'*--flags=[restrict by flag]::VALUE[,...]:_default' \
'*-g+[restrict by group]::VALUE[,...]:_default' \
'*--groups=[restrict by group]::VALUE[,...]:_default' \
'*--id=[restrict by ID]:ID[,...]:_default' \
'*-k+[restrict by keyword]::VALUE[,...]:_default' \
'*--keywords=[restrict by keyword]::VALUE[,...]:_default' \
'--os=[restrict by operating system]:VALUE[,...]:_default' \
'--platform=[restrict by platform]:VALUE[,...]:_default' \
'--priority=[restrict by priority]:VALUE[,...]:_default' \
'-p+[restrict by product]:VALUE[,...]:_default' \
'--product=[restrict by product]:VALUE[,...]:_default' \
'-r+[restrict by resolution]:VALUE[,...]:_default' \
'--resolution=[restrict by resolution]:VALUE[,...]:_default' \
'*-U+[restrict by tracker URLs]::VALUE[,...]:_default' \
'*--see-also=[restrict by tracker URLs]::VALUE[,...]:_default' \
'--severity=[restrict by severity]:VALUE[,...]:_default' \
'*-s+[restrict by status]:VALUE[,...]:_default' \
'*--status=[restrict by status]:VALUE[,...]:_default' \
'*-t+[restrict by personal tags]::VALUE[,...]:_default' \
'*--tags=[restrict by personal tags]::VALUE[,...]:_default' \
'-T+[restrict by target milestone]:VALUE[,...]:_default' \
'--target=[restrict by target milestone]:VALUE[,...]:_default' \
'*--url=[restrict by URL]::VALUE[,...]:_default' \
'-V+[restrict by version]:VALUE[,...]:_default' \
'--version=[restrict by version]:VALUE[,...]:_default' \
'*-w+[restrict by whiteboard]::VALUE[,...]:_default' \
'*--whiteboard=[restrict by whiteboard]::VALUE[,...]:_default' \
'*--attachment-description=[restrict by description]:VALUE[,...]:_default' \
'*--attachment-filename=[restrict by file name]:VALUE[,...]:_default' \
'*--attachment-mime=[restrict by MIME type]:VALUE[,...]:_default' \
'--attachment-is-obsolete=[restrict by obsolete status]::BOOL:(true false)' \
'--attachment-is-patch=[restrict by patch status]::BOOL:(true false)' \
'--attachment-is-private=[restrict by private status]::BOOL:(true false)' \
'--comments=[restrict by comment count]:COMMENTS:_default' \
'--votes=[restrict by vote count]:VOTES:_default' \
'*--changed=[fields changed within time interval]:FIELD[,...][=TIME]:_default' \
'*--changed-by=[fields changed by users]:FIELD[,...]=USER[,...]:_default' \
'*--changed-from=[fields changed from value]:FIELD=VALUE:_default' \
'*--changed-to=[fields changed to value]:FIELD=VALUE:_default' \
'-c+[restrict by creation time]:TIME:_default' \
'--created=[restrict by creation time]:TIME:_default' \
'-u+[restrict by update time]:TIME:_default' \
'--updated=[restrict by update time]:TIME:_default' \
'--closed=[restrict by closed time]:TIME:_default' \
'*-a+[user is assignee]:USER[,...]:_default' \
'*--assignee=[user is assignee]:USER[,...]:_default' \
'*--attacher=[user created attachment]:USER[,...]:_default' \
'*--cc=[user in CC list]::USER[,...]:_default' \
'*--commenter=[user who commented]:USER[,...]:_default' \
'*--flagger=[user who set flag]:USER[,...]:_default' \
'*--qa=[user is QA contact]::USER[,...]:_default' \
'*-R+[user who reported]:USER[,...]:_default' \
'*--reporter=[user who reported]:USER[,...]:_default' \
'*--comment=[restrict by comment content]:TERM:_default' \
'--comment-is-private=[restrict by private status]::BOOL:(true false)' \
'*--comment-tag=[restrict by tag]:VALUE[,...]:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-b[open in browser]' \
'--browser[open in browser]' \
'--json[output in JSON format]' \
'-n[skip service interaction]' \
'--dry-run[skip service interaction]' \
'--paged[enable paging support]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::summary -- restrict by summary content:_default' \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
'(-c --comment -F --comment-from)*-R+[reply to specific comments]::ID[,...]:_default' \
'(-c --comment -F --comment-from)*--reply=[reply to specific comments]::ID[,...]:_default' \
'*--from=[read attributes from templates]:NAME[,...]:_default' \
'--to=[write attributes to template]:NAME:_default' \
'*-A+[add/remove/set aliases]::VALUE[,...]:_default' \
'*--alias=[add/remove/set aliases]::VALUE[,...]:_default' \
'-a+[update assignee]::USER:_default' \
'--assignee=[update assignee]::USER:_default' \
'*-b+[add/remove/set blockers]::ID[,...]:_default' \
'*--blocks=[add/remove/set blockers]::ID[,...]:_default' \
'*--cc=[add/remove CC users]:USER[,...]:_default' \
'(-F --comment-from -R --reply)-c+[add comment]::COMMENT:_default' \
'(-F --comment-from -R --reply)--comment=[add comment]::COMMENT:_default' \
'(-c --comment -R --reply)-F+[add comment from file]:PATH:_files' \
'(-c --comment -R --reply)--comment-from=[add comment from file]:PATH:_files' \
'--comment-privacy=[update comment privacy]:VALUE:_default' \
'-C+[update component]:COMPONENT:_default' \
'--component=[update component]:COMPONENT:_default' \
'*--cf=[update custom field]:NAME:_default:NAME:_default' \
'*-d+[add/remove/set dependencies]::ID[,...]:_default' \
'*--depends=[add/remove/set dependencies]::ID[,...]:_default' \
'(-s --status -r --resolution)-D+[mark bug as duplicate]:ID:_default' \
'(-s --status -r --resolution)--duplicate-of=[mark bug as duplicate]:ID:_default' \
'*-f+[add/remove flags]:VALUE[,...]:_default' \
'*--flags=[add/remove flags]:VALUE[,...]:_default' \
'*-g+[add/remove groups]:VALUE[,...]:_default' \
'*--groups=[add/remove groups]:VALUE[,...]:_default' \
'*-k+[add/remove/set keywords]::VALUE[,...]:_default' \
'*--keywords=[add/remove/set keywords]::VALUE[,...]:_default' \
'--os=[update operating system]:OS:_default' \
'--platform=[update platform]:PLATFORM:_default' \
'--priority=[update priority]:PRIORITY:_default' \
'-p+[update product]:PRODUCT:_default' \
'--product=[update product]:PRODUCT:_default' \
'--qa=[update QA contact]::USER:_default' \
'-r+[update resolution]:RESOLUTION:_default' \
'--resolution=[update resolution]:RESOLUTION:_default' \
'*-U+[add/remove bug URLs]:VALUE[,...]:_default' \
'*--see-also=[add/remove bug URLs]:VALUE[,...]:_default' \
'--severity=[update severity]:SEVERITY:_default' \
'-s+[update status]:STATUS:_default' \
'--status=[update status]:STATUS:_default' \
'-S+[update summary]:SUMMARY:_default' \
'--summary=[update summary]:SUMMARY:_default' \
'-T+[update target milestone]:MILESTONE:_default' \
'--target=[update target milestone]:MILESTONE:_default' \
'-u+[update URL]:URL:_default' \
'--url=[update URL]:URL:_default' \
'-V+[update version]:VERSION:_default' \
'--version=[update version]:VERSION:_default' \
'-w+[update whiteboard]:WHITEBOARD:_default' \
'--whiteboard=[update whiteboard]:WHITEBOARD:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-n[skip service interaction]' \
'--dry-run[skip service interaction]' \
'-P[enable comment privacy]' \
'--comment-is-private[enable comment privacy]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- bug IDs or aliases:_default' \
&& ret=0
;;
(u)
_arguments "${_arguments_options[@]}" : \
'(-c --comment -F --comment-from)*-R+[reply to specific comments]::ID[,...]:_default' \
'(-c --comment -F --comment-from)*--reply=[reply to specific comments]::ID[,...]:_default' \
'*--from=[read attributes from templates]:NAME[,...]:_default' \
'--to=[write attributes to template]:NAME:_default' \
'*-A+[add/remove/set aliases]::VALUE[,...]:_default' \
'*--alias=[add/remove/set aliases]::VALUE[,...]:_default' \
'-a+[update assignee]::USER:_default' \
'--assignee=[update assignee]::USER:_default' \
'*-b+[add/remove/set blockers]::ID[,...]:_default' \
'*--blocks=[add/remove/set blockers]::ID[,...]:_default' \
'*--cc=[add/remove CC users]:USER[,...]:_default' \
'(-F --comment-from -R --reply)-c+[add comment]::COMMENT:_default' \
'(-F --comment-from -R --reply)--comment=[add comment]::COMMENT:_default' \
'(-c --comment -R --reply)-F+[add comment from file]:PATH:_files' \
'(-c --comment -R --reply)--comment-from=[add comment from file]:PATH:_files' \
'--comment-privacy=[update comment privacy]:VALUE:_default' \
'-C+[update component]:COMPONENT:_default' \
'--component=[update component]:COMPONENT:_default' \
'*--cf=[update custom field]:NAME:_default:NAME:_default' \
'*-d+[add/remove/set dependencies]::ID[,...]:_default' \
'*--depends=[add/remove/set dependencies]::ID[,...]:_default' \
'(-s --status -r --resolution)-D+[mark bug as duplicate]:ID:_default' \
'(-s --status -r --resolution)--duplicate-of=[mark bug as duplicate]:ID:_default' \
'*-f+[add/remove flags]:VALUE[,...]:_default' \
'*--flags=[add/remove flags]:VALUE[,...]:_default' \
'*-g+[add/remove groups]:VALUE[,...]:_default' \
'*--groups=[add/remove groups]:VALUE[,...]:_default' \
'*-k+[add/remove/set keywords]::VALUE[,...]:_default' \
'*--keywords=[add/remove/set keywords]::VALUE[,...]:_default' \
'--os=[update operating system]:OS:_default' \
'--platform=[update platform]:PLATFORM:_default' \
'--priority=[update priority]:PRIORITY:_default' \
'-p+[update product]:PRODUCT:_default' \
'--product=[update product]:PRODUCT:_default' \
'--qa=[update QA contact]::USER:_default' \
'-r+[update resolution]:RESOLUTION:_default' \
'--resolution=[update resolution]:RESOLUTION:_default' \
'*-U+[add/remove bug URLs]:VALUE[,...]:_default' \
'*--see-also=[add/remove bug URLs]:VALUE[,...]:_default' \
'--severity=[update severity]:SEVERITY:_default' \
'-s+[update status]:STATUS:_default' \
'--status=[update status]:STATUS:_default' \
'-S+[update summary]:SUMMARY:_default' \
'--summary=[update summary]:SUMMARY:_default' \
'-T+[update target milestone]:MILESTONE:_default' \
'--target=[update target milestone]:MILESTONE:_default' \
'-u+[update URL]:URL:_default' \
'--url=[update URL]:URL:_default' \
'-V+[update version]:VERSION:_default' \
'--version=[update version]:VERSION:_default' \
'-w+[update whiteboard]:WHITEBOARD:_default' \
'--whiteboard=[update whiteboard]:WHITEBOARD:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-n[skip service interaction]' \
'--dry-run[skip service interaction]' \
'-P[enable comment privacy]' \
'--comment-is-private[enable comment privacy]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- bug IDs or aliases:_default' \
&& ret=0
;;
(user)
_arguments "${_arguments_options[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_bite__subcmd__bugzilla__subcmd__user_commands" \
"*::: :->user" \
&& ret=0

    case $state in
    (user)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bite-bugzilla-user-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
'-n+[real name]:NAME:_default' \
'--name=[real name]:NAME:_default' \
'-p+[password]:PASSWORD:_default' \
'--password=[password]:PASSWORD:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::emails -- user emails:_default' \
&& ret=0
;;
(c)
_arguments "${_arguments_options[@]}" : \
'-n+[real name]:NAME:_default' \
'--name=[real name]:NAME:_default' \
'-p+[password]:PASSWORD:_default' \
'--password=[password]:PASSWORD:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::emails -- user emails:_default' \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
'*-g+[user group IDs or names]:VALUE[,...]:_default' \
'*--groups=[user group IDs or names]:VALUE[,...]:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-d[include disabled user accounts]' \
'--disabled[include disabled user accounts]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- user IDs or names:_default' \
&& ret=0
;;
(g)
_arguments "${_arguments_options[@]}" : \
'*-g+[user group IDs or names]:VALUE[,...]:_default' \
'*--groups=[user group IDs or names]:VALUE[,...]:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-d[include disabled user accounts]' \
'--disabled[include disabled user accounts]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- user IDs or names:_default' \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
'-e+[email address]:EMAIL:_default' \
'--email=[email address]:EMAIL:_default' \
'-n+[real name]:NAME:_default' \
'--name=[real name]:NAME:_default' \
'-p+[password]:PASSWORD:_default' \
'--password=[password]:PASSWORD:_default' \
'-E+[toggle sending bug-related email]:BOOL:(true false)' \
'--email-enabled=[toggle sending bug-related email]:BOOL:(true false)' \
'-d+[disable user account with reason]:REASON:_default' \
'--disable=[disable user account with reason]:REASON:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- user IDs or names:_default' \
&& ret=0
;;
(u)
_arguments "${_arguments_options[@]}" : \
'-e+[email address]:EMAIL:_default' \
'--email=[email address]:EMAIL:_default' \
'-n+[real name]:NAME:_default' \
'--name=[real name]:NAME:_default' \
'-p+[password]:PASSWORD:_default' \
'--password=[password]:PASSWORD:_default' \
'-E+[toggle sending bug-related email]:BOOL:(true false)' \
'--email-enabled=[toggle sending bug-related email]:BOOL:(true false)' \
'-d+[disable user account with reason]:REASON:_default' \
'--disable=[disable user account with reason]:REASON:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- user IDs or names:_default' \
&& ret=0
;;
        esac
    ;;
esac
;;
(version)
_arguments "${_arguments_options[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
        esac
    ;;
esac
;;
(github)
_arguments "${_arguments_options[@]}" : \
'-c+[service connection]:CONNECTION:_default' \
'--connection=[service connection]:CONNECTION:_default' \
'-C+[concurrent requests limit]:VALUE:_default' \
'--concurrent=[concurrent requests limit]:VALUE:_default' \
'(-I --insecure)--certificate=[custom root certificate]:PATH:_default' \
'-P+[custom proxy]:URL:_default' \
'--proxy=[custom proxy]:URL:_default' \
'-t+[request timeout in seconds]:SECONDS:_default' \
'--timeout=[request timeout in seconds]:SECONDS:_default' \
'-k+[GitHub personal access token]:KEY:_default' \
'--key=[GitHub personal access token]:KEY:_default' \
'-u+[username]:USER:_default' \
'--user=[username]:USER:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'(--certificate)-I[ignore invalid service certificates]' \
'(--certificate)--insecure[ignore invalid service certificates]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_bite__subcmd__github_commands" \
"*::: :->github" \
&& ret=0

    case $state in
    (github)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bite-github-command-$line[1]:"
        case $line[1] in
            (get)
_arguments "${_arguments_options[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-b[open in browser]' \
'--browser[open in browser]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- issue IDs:_default' \
&& ret=0
;;
(g)
_arguments "${_arguments_options[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-b[open in browser]' \
'--browser[open in browser]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- issue IDs:_default' \
&& ret=0
;;
(search)
_arguments "${_arguments_options[@]}" : \
'-F+[fields to output]:FIELDS:_default' \
'--fields=[fields to output]:FIELDS:_default' \
'-S+[sorting order for search query]:TERM:_default' \
'--order=[sorting order for search query]:TERM:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::summary -- strings to search for in the summary:_default' \
&& ret=0
;;
(s)
_arguments "${_arguments_options[@]}" : \
'-F+[fields to output]:FIELDS:_default' \
'--fields=[fields to output]:FIELDS:_default' \
'-S+[sorting order for search query]:TERM:_default' \
'--order=[sorting order for search query]:TERM:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::summary -- strings to search for in the summary:_default' \
&& ret=0
;;
        esac
    ;;
esac
;;
(redmine)
_arguments "${_arguments_options[@]}" : \
'-c+[service connection]:CONNECTION:_default' \
'--connection=[service connection]:CONNECTION:_default' \
'-C+[concurrent requests limit]:VALUE:_default' \
'--concurrent=[concurrent requests limit]:VALUE:_default' \
'(-I --insecure)--certificate=[custom root certificate]:PATH:_default' \
'-P+[custom proxy]:URL:_default' \
'--proxy=[custom proxy]:URL:_default' \
'-t+[request timeout in seconds]:SECONDS:_default' \
'--timeout=[request timeout in seconds]:SECONDS:_default' \
'-k+[API key]:KEY:_default' \
'--key=[API key]:KEY:_default' \
'-u+[username]:USER:_default' \
'--user=[username]:USER:_default' \
'-p+[password]:PASSWORD:_default' \
'--password=[password]:PASSWORD:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'(--certificate)-I[ignore invalid service certificates]' \
'(--certificate)--insecure[ignore invalid service certificates]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_bite__subcmd__redmine_commands" \
"*::: :->redmine" \
&& ret=0

    case $state in
    (redmine)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bite-redmine-command-$line[1]:"
        case $line[1] in
            (get)
_arguments "${_arguments_options[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-C[disable comments]' \
'--no-comments[disable comments]' \
'-b[open in browser]' \
'--browser[open in browser]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- issue IDs:_default' \
&& ret=0
;;
(g)
_arguments "${_arguments_options[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-C[disable comments]' \
'--no-comments[disable comments]' \
'-b[open in browser]' \
'--browser[open in browser]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::ids -- issue IDs:_default' \
&& ret=0
;;
(search)
_arguments "${_arguments_options[@]}" : \
'*--from=[read attributes from templates]:NAME[,...]:_default' \
'--to=[write attributes to template]:NAME:_default' \
'-f+[fields to output]:FIELD[,...]:_default' \
'--fields=[fields to output]:FIELD[,...]:_default' \
'-l+[limit result count]:LIMIT:_default' \
'--limit=[limit result count]:LIMIT:_default' \
'-O+[result starting position]:OFFSET:_default' \
'--offset=[result starting position]:OFFSET:_default' \
'-o+[order query results]:FIELD[,...]:_default' \
'--order=[order query results]:FIELD[,...]:_default' \
'--paged=[enable paging support]::BOOL:(true false)' \
'-a+[restrict by assignee status]::BOOL:(true false)' \
'--assignee=[restrict by assignee status]::BOOL:(true false)' \
'-@+[restrict by attachments]::VALUE[,...]:_default' \
'--attachments=[restrict by attachments]::VALUE[,...]:_default' \
'-B+[restrict by blockers]::ID[,...]:_default' \
'--blocks=[restrict by blockers]::ID[,...]:_default' \
'-D+[restrict by dependencies]::ID[,...]:_default' \
'--blocked=[restrict by dependencies]::ID[,...]:_default' \
'-R+[restrict by relations]::ID[,...]:_default' \
'--relates=[restrict by relations]::ID[,...]:_default' \
'*--id=[restrict by ID]:ID[,...]:_default' \
'-s+[restrict by status]:STATUS:(@open @closed @any)' \
'--status=[restrict by status]:STATUS:(@open @closed @any)' \
'-c+[restrict by creation time]:TIME:_default' \
'--created=[restrict by creation time]:TIME:_default' \
'-u+[restrict by update time]:TIME:_default' \
'--updated=[restrict by update time]:TIME:_default' \
'-C+[restrict by closed time]:TIME:_default' \
'--closed=[restrict by closed time]:TIME:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-b[open in browser]' \
'--browser[open in browser]' \
'--json[output in JSON format]' \
'-n[skip service interaction]' \
'--dry-run[skip service interaction]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::subject -- restrict by subject content:_default' \
&& ret=0
;;
(s)
_arguments "${_arguments_options[@]}" : \
'*--from=[read attributes from templates]:NAME[,...]:_default' \
'--to=[write attributes to template]:NAME:_default' \
'-f+[fields to output]:FIELD[,...]:_default' \
'--fields=[fields to output]:FIELD[,...]:_default' \
'-l+[limit result count]:LIMIT:_default' \
'--limit=[limit result count]:LIMIT:_default' \
'-O+[result starting position]:OFFSET:_default' \
'--offset=[result starting position]:OFFSET:_default' \
'-o+[order query results]:FIELD[,...]:_default' \
'--order=[order query results]:FIELD[,...]:_default' \
'--paged=[enable paging support]::BOOL:(true false)' \
'-a+[restrict by assignee status]::BOOL:(true false)' \
'--assignee=[restrict by assignee status]::BOOL:(true false)' \
'-@+[restrict by attachments]::VALUE[,...]:_default' \
'--attachments=[restrict by attachments]::VALUE[,...]:_default' \
'-B+[restrict by blockers]::ID[,...]:_default' \
'--blocks=[restrict by blockers]::ID[,...]:_default' \
'-D+[restrict by dependencies]::ID[,...]:_default' \
'--blocked=[restrict by dependencies]::ID[,...]:_default' \
'-R+[restrict by relations]::ID[,...]:_default' \
'--relates=[restrict by relations]::ID[,...]:_default' \
'*--id=[restrict by ID]:ID[,...]:_default' \
'-s+[restrict by status]:STATUS:(@open @closed @any)' \
'--status=[restrict by status]:STATUS:(@open @closed @any)' \
'-c+[restrict by creation time]:TIME:_default' \
'--created=[restrict by creation time]:TIME:_default' \
'-u+[restrict by update time]:TIME:_default' \
'--updated=[restrict by update time]:TIME:_default' \
'-C+[restrict by closed time]:TIME:_default' \
'--closed=[restrict by closed time]:TIME:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'-b[open in browser]' \
'--browser[open in browser]' \
'--json[output in JSON format]' \
'-n[skip service interaction]' \
'--dry-run[skip service interaction]' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::subject -- restrict by subject content:_default' \
&& ret=0
;;
        esac
    ;;
esac
;;
(completion)
_arguments "${_arguments_options[@]}" : \
'-d+[Target directory for completion files]:DIR:_default' \
'--dir=[Target directory for completion files]:DIR:_default' \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'::shell -- Target shell:(bash elvish fish powershell zsh)' \
&& ret=0
;;
(show)
_arguments "${_arguments_options[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
":: :_bite__subcmd__show_commands" \
"*::: :->show" \
&& ret=0

    case $state in
    (show)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:bite-show-command-$line[1]:"
        case $line[1] in
            (connections)
_arguments "${_arguments_options[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
'*::service -- service types:(bugzilla github redmine)' \
&& ret=0
;;
(services)
_arguments "${_arguments_options[@]}" : \
'--color=[Enable/disable color support]:BOOL:(true false)' \
'*-v[Increase logging verbosity]' \
'*--verbose[Increase logging verbosity]' \
'(-v --verbose)*-q[Decrease logging verbosity]' \
'(-v --verbose)*--quiet[Decrease logging verbosity]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_bite_commands] )) ||
_bite_commands() {
    local commands; commands=(
'bugzilla:bugzilla service support' \
'github:github service support' \
'redmine:redmine service support' \
'completion:generate shell completion' \
'show:show service information' \
    )
    _describe -t commands 'bite commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla_commands] )) ||
_bite__subcmd__bugzilla_commands() {
    local commands; commands=(
'attachment:Attachment commands' \
'a:Attachment commands' \
'comment:Get bug comments' \
'create:Create bug' \
'c:Create bug' \
'fields:Get bugzilla fields' \
'get:Get bugs' \
'g:Get bugs' \
'history:Get bug changes' \
'search:Search bugs' \
's:Search bugs' \
'update:Update bugs' \
'u:Update bugs' \
'user:User commands' \
'version:Get bugzilla version' \
    )
    _describe -t commands 'bite bugzilla commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__attachment_commands] )) ||
_bite__subcmd__bugzilla__subcmd__attachment_commands() {
    local commands; commands=(
'create:Create attachments' \
'c:Create attachments' \
'get:Get attachments' \
'g:Get attachments' \
'update:Update attachments' \
'u:Update attachments' \
    )
    _describe -t commands 'bite bugzilla attachment commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__attachment__subcmd__create_commands] )) ||
_bite__subcmd__bugzilla__subcmd__attachment__subcmd__create_commands() {
    local commands; commands=()
    _describe -t commands 'bite bugzilla attachment create commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__attachment__subcmd__get_commands] )) ||
_bite__subcmd__bugzilla__subcmd__attachment__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'bite bugzilla attachment get commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__attachment__subcmd__update_commands] )) ||
_bite__subcmd__bugzilla__subcmd__attachment__subcmd__update_commands() {
    local commands; commands=()
    _describe -t commands 'bite bugzilla attachment update commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__comment_commands] )) ||
_bite__subcmd__bugzilla__subcmd__comment_commands() {
    local commands; commands=()
    _describe -t commands 'bite bugzilla comment commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__create_commands] )) ||
_bite__subcmd__bugzilla__subcmd__create_commands() {
    local commands; commands=()
    _describe -t commands 'bite bugzilla create commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__fields_commands] )) ||
_bite__subcmd__bugzilla__subcmd__fields_commands() {
    local commands; commands=()
    _describe -t commands 'bite bugzilla fields commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__get_commands] )) ||
_bite__subcmd__bugzilla__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'bite bugzilla get commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__history_commands] )) ||
_bite__subcmd__bugzilla__subcmd__history_commands() {
    local commands; commands=()
    _describe -t commands 'bite bugzilla history commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__search_commands] )) ||
_bite__subcmd__bugzilla__subcmd__search_commands() {
    local commands; commands=()
    _describe -t commands 'bite bugzilla search commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__update_commands] )) ||
_bite__subcmd__bugzilla__subcmd__update_commands() {
    local commands; commands=()
    _describe -t commands 'bite bugzilla update commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__user_commands] )) ||
_bite__subcmd__bugzilla__subcmd__user_commands() {
    local commands; commands=(
'create:Create users' \
'c:Create users' \
'get:Get users' \
'g:Get users' \
'update:Update users' \
'u:Update users' \
    )
    _describe -t commands 'bite bugzilla user commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__user__subcmd__create_commands] )) ||
_bite__subcmd__bugzilla__subcmd__user__subcmd__create_commands() {
    local commands; commands=()
    _describe -t commands 'bite bugzilla user create commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__user__subcmd__get_commands] )) ||
_bite__subcmd__bugzilla__subcmd__user__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'bite bugzilla user get commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__user__subcmd__update_commands] )) ||
_bite__subcmd__bugzilla__subcmd__user__subcmd__update_commands() {
    local commands; commands=()
    _describe -t commands 'bite bugzilla user update commands' commands "$@"
}
(( $+functions[_bite__subcmd__bugzilla__subcmd__version_commands] )) ||
_bite__subcmd__bugzilla__subcmd__version_commands() {
    local commands; commands=()
    _describe -t commands 'bite bugzilla version commands' commands "$@"
}
(( $+functions[_bite__subcmd__completion_commands] )) ||
_bite__subcmd__completion_commands() {
    local commands; commands=()
    _describe -t commands 'bite completion commands' commands "$@"
}
(( $+functions[_bite__subcmd__github_commands] )) ||
_bite__subcmd__github_commands() {
    local commands; commands=(
'get:Get issues' \
'g:Get issues' \
'search:Search issues' \
's:Search issues' \
    )
    _describe -t commands 'bite github commands' commands "$@"
}
(( $+functions[_bite__subcmd__github__subcmd__get_commands] )) ||
_bite__subcmd__github__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'bite github get commands' commands "$@"
}
(( $+functions[_bite__subcmd__github__subcmd__search_commands] )) ||
_bite__subcmd__github__subcmd__search_commands() {
    local commands; commands=()
    _describe -t commands 'bite github search commands' commands "$@"
}
(( $+functions[_bite__subcmd__redmine_commands] )) ||
_bite__subcmd__redmine_commands() {
    local commands; commands=(
'get:Get issues' \
'g:Get issues' \
'search:Search issues' \
's:Search issues' \
    )
    _describe -t commands 'bite redmine commands' commands "$@"
}
(( $+functions[_bite__subcmd__redmine__subcmd__get_commands] )) ||
_bite__subcmd__redmine__subcmd__get_commands() {
    local commands; commands=()
    _describe -t commands 'bite redmine get commands' commands "$@"
}
(( $+functions[_bite__subcmd__redmine__subcmd__search_commands] )) ||
_bite__subcmd__redmine__subcmd__search_commands() {
    local commands; commands=()
    _describe -t commands 'bite redmine search commands' commands "$@"
}
(( $+functions[_bite__subcmd__show_commands] )) ||
_bite__subcmd__show_commands() {
    local commands; commands=(
'connections:Show available connections' \
'services:Show available services' \
    )
    _describe -t commands 'bite show commands' commands "$@"
}
(( $+functions[_bite__subcmd__show__subcmd__connections_commands] )) ||
_bite__subcmd__show__subcmd__connections_commands() {
    local commands; commands=()
    _describe -t commands 'bite show connections commands' commands "$@"
}
(( $+functions[_bite__subcmd__show__subcmd__services_commands] )) ||
_bite__subcmd__show__subcmd__services_commands() {
    local commands; commands=()
    _describe -t commands 'bite show services commands' commands "$@"
}

if [ "$funcstack[1]" = "_bite" ]; then
    _bite "$@"
else
    compdef _bite bite
fi
