view release on metacpan or search on metacpan
examples/zsh/_githubcl view on Meta::CPAN
#compdef githubcl
_githubcl() {
local program=githubcl
typeset -A opt_args
local curcontext="$curcontext" state line context
# ---- Command:
_arguments -s \
'1: :->cmd1' \
'*: :->args' \
&& ret=0
case $state in
cmd1)
_alternative 'args:cmd2:((DELETE\:"DELETE call" GET\:"GET call" PATCH\:"PATCH call" POST\:"POST call" PUT\:"PUT call" help\:"Show command help"))'
;;
args)
case $line[1] in
DELETE)
# ---- Command: DELETE
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'*: :->args' \
&& ret=0
case $state in
cmd2)
_alternative 'args:cmd3:((/gists/\\:id\:"Delete a gist." /gists/\\:id/comments/\\:commentId\:"Delete a comment." /gists/\\:id/star\:"Unstar a gist." /notifications/threads/\\:id/subscription\:"Delete a Thread Subscription." /orgs/...
;;
args)
case $line[2] in
/gists/:id)
# ---- Command: DELETE /gists/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->id' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
id)
;;
esac
;;
/gists/:id/comments/:commentId)
# ---- Command: DELETE /gists/:id/comments/:commentId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->id' \
'4: :->commentId' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
id)
;;
commentId)
;;
esac
;;
/gists/:id/star)
# ---- Command: DELETE /gists/:id/star
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->id' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
id)
;;
esac
;;
/notifications/threads/:id/subscription)
# ---- Command: DELETE /notifications/threads/:id/subscription
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->id' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
id)
;;
esac
;;
/orgs/:org/members/:username)
# ---- Command: DELETE /orgs/:org/members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->org' \
'4: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
org)
;;
username)
;;
esac
;;
/orgs/:org/public_members/:username)
# ---- Command: DELETE /orgs/:org/public_members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->org' \
'4: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
examples/zsh/_githubcl view on Meta::CPAN
# ---- Command: DELETE /repos/:owner/:repo/releases/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->id' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
id)
;;
esac
;;
/repos/:owner/:repo/releases/assets/:id)
# ---- Command: DELETE /repos/:owner/:repo/releases/assets/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->id' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
id)
;;
esac
;;
/repos/:owner/:repo/subscription)
# ---- Command: DELETE /repos/:owner/:repo/subscription
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/teams/:teamId)
# ---- Command: DELETE /teams/:teamId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->teamId' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
teamId)
;;
esac
;;
/teams/:teamId/members/:username)
# ---- Command: DELETE /teams/:teamId/members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->teamId' \
'4: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
examples/zsh/_githubcl view on Meta::CPAN
'-h[Show command help]' \
&& ret=0
case $state in
username)
;;
esac
;;
/user/keys/:keyId)
# ---- Command: DELETE /user/keys/:keyId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->keyId' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
keyId)
;;
esac
;;
/user/starred/:owner/:repo)
# ---- Command: DELETE /user/starred/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/user/subscriptions/:owner/:repo)
# ---- Command: DELETE /user/subscriptions/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
esac
;;
esac
;;
GET)
# ---- Command: GET
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'*: :->args' \
&& ret=0
case $state in
cmd2)
_alternative 'args:cmd3:((/emojis\:"Lists all the emojis available to use on GitHub...." /events\:"List public events." /feeds\:"List Feeds." /gists\:"List the authenticated user'"'"'s gists or if called a..." /gists/\\:id\:"Get a...
;;
args)
case $line[2] in
/emojis)
# ---- Command: GET /emojis
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
/events)
# ---- Command: GET /events
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
/feeds)
# ---- Command: GET /feeds
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
/gists)
# ---- Command: GET /gists
_arguments -s -C \
'1: :->cmd1' \
examples/zsh/_githubcl view on Meta::CPAN
Only gists updated at or after this time are returned.
]:q-since' \
&& ret=0
;;
/gitignore/templates)
# ---- Command: GET /gitignore/templates
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
/gitignore/templates/:language)
# ---- Command: GET /gitignore/templates/:language
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->language' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
language)
;;
esac
;;
/issues)
# ---- Command: GET /issues
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--q-filter[Issues assigned to you / created by you / mentioning you / you'"'"'re
subscribed to updates for / All issues the authenticated user can see
]:q-filter:("assigned" "created" "mentioned" "subscribed" "all")' \
'--q-state[]:q-state:("open" "closed")' \
'--q-labels[String list of comma separated Label names. Example - bug,ui,@high.]:q-labels' \
'--q-sort[]:q-sort:("created" "updated" "comments")' \
'--q-direction[]:q-direction:("asc" "desc")' \
'--q-since[Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Only issues updated at or after this time are returned.
]:q-since' \
&& ret=0
;;
/legacy/issues/search/:owner/:repository/:state/:keyword)
# ---- Command: GET /legacy/issues/search/:owner/:repository/:state/:keyword
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->keyword' \
'4: :->state' \
'5: :->owner' \
'6: :->repository' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
keyword)
;;
state)
compadd -X 'state:' 'open' 'closed'
;;
owner)
;;
repository)
;;
esac
;;
/legacy/repos/search/:keyword)
# ---- Command: GET /legacy/repos/search/:keyword
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->keyword' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
examples/zsh/_githubcl view on Meta::CPAN
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/notifications)
# ---- Command: GET /notifications
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--q-all[True to show notifications marked as read.]:q-all' \
'--q-participating[True to show only notifications in which the user is directly participating
or mentioned.
]:q-participating' \
'--q-since[The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Example: "2012-10-09T23:39:01Z".
]:q-since' \
&& ret=0
;;
/notifications/threads/:id)
# ---- Command: GET /notifications/threads/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->id' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
id)
;;
esac
;;
/notifications/threads/:id/subscription)
# ---- Command: GET /notifications/threads/:id/subscription
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->id' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
id)
;;
esac
;;
/orgs/:org)
# ---- Command: GET /orgs/:org
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->org' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
org)
;;
esac
;;
/orgs/:org/events)
# ---- Command: GET /orgs/:org/events
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->org' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
org)
;;
esac
;;
/orgs/:org/issues)
# ---- Command: GET /orgs/:org/issues
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->org' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--q-filter[Issues assigned to you / created by you / mentioning you / you'"'"'re
subscribed to updates for / All issues the authenticated user can see
]:q-filter:("assigned" "created" "mentioned" "subscribed" "all")' \
'--q-state[]:q-state:("open" "closed")' \
'--q-labels[String list of comma separated Label names. Example - bug,ui,@high.]:q-labels' \
'--q-sort[]:q-sort:("created" "updated" "comments")' \
'--q-direction[]:q-direction:("asc" "desc")' \
'--q-since[Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Only issues updated at or after this time are returned.
]:q-since' \
&& ret=0
case $state in
org)
;;
esac
;;
/orgs/:org/members)
# ---- Command: GET /orgs/:org/members
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->org' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
org)
;;
esac
;;
/orgs/:org/members/:username)
# ---- Command: GET /orgs/:org/members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->org' \
'4: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
org)
;;
examples/zsh/_githubcl view on Meta::CPAN
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/repos/:owner/:repo/hooks/:hookId)
# ---- Command: GET /repos/:owner/:repo/hooks/:hookId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->hookId' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
hookId)
;;
esac
;;
/repos/:owner/:repo/issues)
# ---- Command: GET /repos/:owner/:repo/issues
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--q-filter[Issues assigned to you / created by you / mentioning you / you'"'"'re
subscribed to updates for / All issues the authenticated user can see
]:q-filter:("assigned" "created" "mentioned" "subscribed" "all")' \
'--q-state[]:q-state:("open" "closed")' \
'--q-labels[String list of comma separated Label names. Example - bug,ui,@high.]:q-labels' \
'--q-sort[]:q-sort:("created" "updated" "comments")' \
'--q-direction[]:q-direction:("asc" "desc")' \
'--q-since[Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Only issues updated at or after this time are returned.
]:q-since' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/repos/:owner/:repo/issues/:number)
# ---- Command: GET /repos/:owner/:repo/issues/:number
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->number' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
number)
;;
esac
;;
/repos/:owner/:repo/issues/:number/comments)
# ---- Command: GET /repos/:owner/:repo/issues/:number/comments
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->number' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/stats/punch_card)
# ---- Command: GET /repos/:owner/:repo/stats/punch_card
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/repos/:owner/:repo/statuses/:ref)
# ---- Command: GET /repos/:owner/:repo/statuses/:ref
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->ref' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
ref)
;;
esac
;;
/repos/:owner/:repo/subscribers)
# ---- Command: GET /repos/:owner/:repo/subscribers
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/repos/:owner/:repo/subscription)
# ---- Command: GET /repos/:owner/:repo/subscription
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/repos/:owner/:repo/tags)
# ---- Command: GET /repos/:owner/:repo/tags
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/repos/:owner/:repo/teams)
# ---- Command: GET /repos/:owner/:repo/teams
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
examples/zsh/_githubcl view on Meta::CPAN
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
/user/following)
# ---- Command: GET /user/following
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
/user/following/:username)
# ---- Command: GET /user/following/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
username)
;;
esac
;;
/user/issues)
# ---- Command: GET /user/issues
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--q-filter[Issues assigned to you / created by you / mentioning you / you'"'"'re
subscribed to updates for / All issues the authenticated user can see
]:q-filter:("assigned" "created" "mentioned" "subscribed" "all")' \
'--q-state[]:q-state:("open" "closed")' \
'--q-labels[String list of comma separated Label names. Example - bug,ui,@high.]:q-labels' \
'--q-sort[]:q-sort:("created" "updated" "comments")' \
'--q-direction[]:q-direction:("asc" "desc")' \
'--q-since[Optional string of a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Only issues updated at or after this time are returned.
]:q-since' \
&& ret=0
;;
/user/keys)
# ---- Command: GET /user/keys
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
/user/keys/:keyId)
# ---- Command: GET /user/keys/:keyId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->keyId' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
keyId)
;;
esac
;;
/user/orgs)
# ---- Command: GET /user/orgs
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
examples/zsh/_githubcl view on Meta::CPAN
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--q-type[]:q-type:("all" "public" "private" "forks" "sources" "member")' \
&& ret=0
;;
/user/starred)
# ---- Command: GET /user/starred
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--q-direction[Ignored without '"'"'sort'"'"' parameter.]:q-direction' \
'--q-sort[]:q-sort:("created" "updated")' \
&& ret=0
;;
/user/starred/:owner/:repo)
# ---- Command: GET /user/starred/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/user/subscriptions)
# ---- Command: GET /user/subscriptions
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
/user/subscriptions/:owner/:repo)
# ---- Command: GET /user/subscriptions/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/user/teams)
# ---- Command: GET /user/teams
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
/users)
# ---- Command: GET /users
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--q-since[The integer ID of the last User that you'"'"'ve seen.]:q-since' \
&& ret=0
;;
/users/:username)
examples/zsh/_githubcl view on Meta::CPAN
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
username)
;;
esac
;;
/users/:username/repos)
# ---- Command: GET /users/:username/repos
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--q-type[]:q-type:("all" "public" "private" "forks" "sources" "member")' \
&& ret=0
case $state in
username)
;;
esac
;;
/users/:username/starred)
# ---- Command: GET /users/:username/starred
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
username)
;;
esac
;;
/users/:username/subscriptions)
# ---- Command: GET /users/:username/subscriptions
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
username)
;;
esac
;;
esac
;;
esac
;;
PATCH)
# ---- Command: PATCH
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'*: :->args' \
&& ret=0
case $state in
cmd2)
_alternative 'args:cmd3:((/gists/\\:id\:"Edit a gist." /gists/\\:id/comments/\\:commentId\:"Edit a comment." /notifications/threads/\\:id\:"Mark a thread as read" /orgs/\\:org\:"Edit an Organization." /repos/\\:owner/\\:repo\:"Edi...
;;
args)
case $line[2] in
/gists/:id)
# ---- Command: PATCH /gists/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->id' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
examples/zsh/_githubcl view on Meta::CPAN
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
/user/keys)
# ---- Command: POST /user/keys
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
/user/repos)
# ---- Command: POST /user/repos
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
esac
;;
esac
;;
PUT)
# ---- Command: PUT
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'*: :->args' \
&& ret=0
case $state in
cmd2)
_alternative 'args:cmd3:((/gists/\\:id/star\:"Star a gist." /notifications\:"Mark as read." /notifications/threads/\\:id/subscription\:"Set a Thread Subscription." /orgs/\\:org/public_members/\\:username\:"Publicize a user'"'"'s m...
;;
args)
case $line[2] in
/gists/:id/star)
# ---- Command: PUT /gists/:id/star
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->id' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
id)
;;
esac
;;
/notifications)
# ---- Command: PUT /notifications
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
/notifications/threads/:id/subscription)
# ---- Command: PUT /notifications/threads/:id/subscription
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->id' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
id)
;;
esac
;;
/orgs/:org/public_members/:username)
# ---- Command: PUT /orgs/:org/public_members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->org' \
'4: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
org)
;;
username)
;;
esac
;;
/repos/:owner/:repo/collaborators/:user)
# ---- Command: PUT /repos/:owner/:repo/collaborators/:user
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->user' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/notifications)
# ---- Command: PUT /repos/:owner/:repo/notifications
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/repos/:owner/:repo/pulls/:number/merge)
# ---- Command: PUT /repos/:owner/:repo/pulls/:number/merge
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->number' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
number)
;;
esac
;;
/repos/:owner/:repo/subscription)
# ---- Command: PUT /repos/:owner/:repo/subscription
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/teams/:teamId/members/:username)
# ---- Command: PUT /teams/:teamId/members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->teamId' \
'4: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
teamId)
;;
username)
;;
esac
;;
/teams/:teamId/memberships/:username)
# ---- Command: PUT /teams/:teamId/memberships/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->teamId' \
'4: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
examples/zsh/_githubcl view on Meta::CPAN
;;
org)
;;
repo)
;;
esac
;;
/user/following/:username)
# ---- Command: PUT /user/following/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->username' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
username)
;;
esac
;;
/user/starred/:owner/:repo)
# ---- Command: PUT /user/starred/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/user/subscriptions/:owner/:repo)
# ---- Command: PUT /user/subscriptions/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
esac
;;
esac
;;
_meta)
# ---- Command: _meta
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'*: :->args' \
&& ret=0
case $state in
cmd2)
_alternative 'args:cmd3:((completion\:"Shell completion functions" pod\:"Pod documentation"))'
;;
args)
case $line[2] in
completion)
# ---- Command: _meta completion
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'*: :->args' \
&& ret=0
case $state in
cmd3)
examples/zsh/_githubcl view on Meta::CPAN
generate)
# ---- Command: _meta pod generate
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
esac
;;
esac
;;
esac
;;
esac
;;
help)
# ---- Command: help
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'*: :->args' \
&& ret=0
case $state in
cmd2)
_alternative 'args:cmd3:((DELETE GET PATCH POST PUT))'
;;
args)
case $line[2] in
DELETE)
# ---- Command: help DELETE
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'*: :->args' \
&& ret=0
case $state in
cmd3)
_alternative 'args:cmd4:((/gists/\\:id /gists/\\:id/comments/\\:commentId /gists/\\:id/star /notifications/threads/\\:id/subscription /orgs/\\:org/members/\\:username /orgs/\\:org/public_members/\\:username /repos/\\:owner...
;;
args)
case $line[3] in
/gists/:id)
# ---- Command: help DELETE /gists/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/gists/:id/comments/:commentId)
# ---- Command: help DELETE /gists/:id/comments/:commentId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/gists/:id/star)
# ---- Command: help DELETE /gists/:id/star
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/notifications/threads/:id/subscription)
# ---- Command: help DELETE /notifications/threads/:id/subscription
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/orgs/:org/members/:username)
# ---- Command: help DELETE /orgs/:org/members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/orgs/:org/public_members/:username)
# ---- Command: help DELETE /orgs/:org/public_members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo)
# ---- Command: help DELETE /repos/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/pulls/comments/:commentId)
# ---- Command: help DELETE /repos/:owner/:repo/pulls/comments/:commentId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/releases/:id)
# ---- Command: help DELETE /repos/:owner/:repo/releases/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/releases/assets/:id)
# ---- Command: help DELETE /repos/:owner/:repo/releases/assets/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/subscription)
# ---- Command: help DELETE /repos/:owner/:repo/subscription
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/teams/:teamId)
# ---- Command: help DELETE /teams/:teamId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/teams/:teamId/members/:username)
# ---- Command: help DELETE /teams/:teamId/members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/teams/:teamId/memberships/:username)
# ---- Command: help DELETE /teams/:teamId/memberships/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
;;
/user/following/:username)
# ---- Command: help DELETE /user/following/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/user/keys/:keyId)
# ---- Command: help DELETE /user/keys/:keyId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/user/starred/:owner/:repo)
# ---- Command: help DELETE /user/starred/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/user/subscriptions/:owner/:repo)
# ---- Command: help DELETE /user/subscriptions/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
esac
;;
esac
;;
GET)
# ---- Command: help GET
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'*: :->args' \
&& ret=0
case $state in
cmd3)
_alternative 'args:cmd4:((/emojis /events /feeds /gists /gists/\\:id /gists/\\:id/comments /gists/\\:id/comments/\\:commentId /gists/\\:id/star /gists/public /gists/starred /gitignore/templates /gitignore/templates/\\:lang...
;;
args)
case $line[3] in
/emojis)
# ---- Command: help GET /emojis
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/events)
# ---- Command: help GET /events
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/feeds)
# ---- Command: help GET /feeds
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
examples/zsh/_githubcl view on Meta::CPAN
;;
/networks/:owner/:repo/events)
# ---- Command: help GET /networks/:owner/:repo/events
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/notifications)
# ---- Command: help GET /notifications
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/notifications/threads/:id)
# ---- Command: help GET /notifications/threads/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/notifications/threads/:id/subscription)
# ---- Command: help GET /notifications/threads/:id/subscription
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/orgs/:org)
# ---- Command: help GET /orgs/:org
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/orgs/:org/events)
# ---- Command: help GET /orgs/:org/events
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/orgs/:org/issues)
# ---- Command: help GET /orgs/:org/issues
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/stats/participation)
# ---- Command: help GET /repos/:owner/:repo/stats/participation
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/stats/punch_card)
# ---- Command: help GET /repos/:owner/:repo/stats/punch_card
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/statuses/:ref)
# ---- Command: help GET /repos/:owner/:repo/statuses/:ref
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/subscribers)
# ---- Command: help GET /repos/:owner/:repo/subscribers
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/subscription)
# ---- Command: help GET /repos/:owner/:repo/subscription
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/tags)
# ---- Command: help GET /repos/:owner/:repo/tags
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/teams)
# ---- Command: help GET /repos/:owner/:repo/teams
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/watchers)
# ---- Command: help GET /repos/:owner/:repo/watchers
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
;;
/user/repos)
# ---- Command: help GET /user/repos
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/user/starred)
# ---- Command: help GET /user/starred
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/user/starred/:owner/:repo)
# ---- Command: help GET /user/starred/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/user/subscriptions)
# ---- Command: help GET /user/subscriptions
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/user/subscriptions/:owner/:repo)
# ---- Command: help GET /user/subscriptions/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/user/teams)
# ---- Command: help GET /user/teams
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/users)
# ---- Command: help GET /users
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/users/:username)
# ---- Command: help GET /users/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
;;
/users/:username/received_events/public)
# ---- Command: help GET /users/:username/received_events/public
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/users/:username/repos)
# ---- Command: help GET /users/:username/repos
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/users/:username/starred)
# ---- Command: help GET /users/:username/starred
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/users/:username/subscriptions)
# ---- Command: help GET /users/:username/subscriptions
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
esac
;;
esac
;;
PATCH)
# ---- Command: help PATCH
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'*: :->args' \
&& ret=0
case $state in
cmd3)
_alternative 'args:cmd4:((/gists/\\:id /gists/\\:id/comments/\\:commentId /notifications/threads/\\:id /orgs/\\:org /repos/\\:owner/\\:repo /repos/\\:owner/\\:repo/comments/\\:commentId /repos/\\:owner/\\:repo/git/refs/\\:...
;;
args)
case $line[3] in
/gists/:id)
# ---- Command: help PATCH /gists/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/gists/:id/comments/:commentId)
examples/zsh/_githubcl view on Meta::CPAN
;;
/user/keys)
# ---- Command: help POST /user/keys
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/user/repos)
# ---- Command: help POST /user/repos
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
esac
;;
esac
;;
PUT)
# ---- Command: help PUT
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'*: :->args' \
&& ret=0
case $state in
cmd3)
_alternative 'args:cmd4:((/gists/\\:id/star /notifications /notifications/threads/\\:id/subscription /orgs/\\:org/public_members/\\:username /repos/\\:owner/\\:repo/collaborators/\\:user /repos/\\:owner/\\:repo/contents/\\...
;;
args)
case $line[3] in
/gists/:id/star)
# ---- Command: help PUT /gists/:id/star
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/notifications)
# ---- Command: help PUT /notifications
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/notifications/threads/:id/subscription)
# ---- Command: help PUT /notifications/threads/:id/subscription
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/orgs/:org/public_members/:username)
# ---- Command: help PUT /orgs/:org/public_members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/collaborators/:user)
# ---- Command: help PUT /repos/:owner/:repo/collaborators/:user
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/contents/:path)
# ---- Command: help PUT /repos/:owner/:repo/contents/:path
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues/:number/labels)
# ---- Command: help PUT /repos/:owner/:repo/issues/:number/labels
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/notifications)
# ---- Command: help PUT /repos/:owner/:repo/notifications
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/pulls/:number/merge)
# ---- Command: help PUT /repos/:owner/:repo/pulls/:number/merge
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/repos/:owner/:repo/subscription)
# ---- Command: help PUT /repos/:owner/:repo/subscription
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/teams/:teamId/members/:username)
# ---- Command: help PUT /teams/:teamId/members/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/teams/:teamId/memberships/:username)
# ---- Command: help PUT /teams/:teamId/memberships/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/teams/:teamId/repos/:org/:repo)
# ---- Command: help PUT /teams/:teamId/repos/:org/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/user/following/:username)
# ---- Command: help PUT /user/following/:username
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/user/starred/:owner/:repo)
# ---- Command: help PUT /user/starred/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
/user/subscriptions/:owner/:repo)
# ---- Command: help PUT /user/subscriptions/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
'--all[]' \
&& ret=0
;;
esac
;;
esac
;;
_meta)
# ---- Command: help _meta
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'*: :->args' \
&& ret=0
case $state in
cmd3)
_alternative 'args:cmd4:((completion pod))'
;;
args)
case $line[3] in
completion)
# ---- Command: help _meta completion
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'4: :->cmd4' \
'*: :->args' \
&& ret=0
case $state in
cmd4)
_alternative 'args:cmd5:((generate))'
;;
args)
case $line[4] in
generate)