view release on metacpan or search on metacpan
examples/bash/digitaloceancl.bash view on Meta::CPAN
local cur=${COMP_WORDS[$COMP_CWORD]}
# echo "COMP_CWORD:$COMP_CWORD cur:$cur" >>/tmp/comp
declare -a FLAGS
declare -a OPTIONS
declare -a MYWORDS
local INDEX=`expr $COMP_CWORD - 1`
MYWORDS=("${COMP_WORDS[@]:1:$COMP_CWORD}")
FLAGS=('--debug' 'debug' '-d' 'debug' '--verbose' 'verbose' '-v' 'verbose' '--help' 'Show command help' '-h' 'Show command help')
OPTIONS=('--data-file' 'File with data for POST/PUT/PATCH/DELETE requests')
__digitaloceancl_handle_options_flags
case $INDEX in
0)
__comp_current_options || return
__digitaloceancl_dynamic_comp 'commands' 'GET'$'\t''GET call'$'\n''POST'$'\t''POST call'$'\n''help'$'\t''Show command help'
;;
*)
examples/bash/digitaloceancl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__digitaloceancl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
esac
;;
esac
examples/bash/digitaloceancl.bash view on Meta::CPAN
# subcmds
case ${MYWORDS[2]} in
generate)
FLAGS+=('--zsh' 'for zsh' '--bash' 'for bash')
OPTIONS+=('--name' 'name of the program (optional, override name in spec)')
__digitaloceancl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--name)
;;
esac
;;
esac
;;
esac
examples/bash/githubcl.bash view on Meta::CPAN
local cur=${COMP_WORDS[$COMP_CWORD]}
# echo "COMP_CWORD:$COMP_CWORD cur:$cur" >>/tmp/comp
declare -a FLAGS
declare -a OPTIONS
declare -a MYWORDS
local INDEX=`expr $COMP_CWORD - 1`
MYWORDS=("${COMP_WORDS[@]:1:$COMP_CWORD}")
FLAGS=('--debug' 'debug' '-d' 'debug' '--verbose' 'verbose' '-v' 'verbose' '--help' 'Show command help' '-h' 'Show command help')
OPTIONS=('--data-file' 'File with data for POST/PUT/PATCH/DELETE requests')
__githubcl_handle_options_flags
case $INDEX in
0)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' 'DELETE'$'\t''DELETE call'$'\n''GET'$'\t''GET call'$'\n''PATCH'$'\t''PATCH call'$'\n''POST'$'\t''POST call'$'\n''PUT'$'\t''PUT call'$'\n''help'$'\t''Show command help'
;;
*)
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/gists/:id/comments/:commentId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/gists/:id/star)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/notifications/threads/:id/subscription)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org/members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org/public_members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/collaborators/:user)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/comments/:commentId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/contents/:path)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/downloads/:downloadId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/git/refs/:ref)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/hooks/:hookId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues/:number/labels)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues/:number/labels/:name)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
4)
__comp_current_options || return
;;
5)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues/comments/:commentId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/keys/:keyId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/labels/:name)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/milestones/:number)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/pulls/comments/:commentId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/releases/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/releases/assets/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/subscription)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/teams/:teamId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/teams/:teamId/members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/teams/:teamId/memberships/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/teams/:teamId/repos/:owner/:repo)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/user/emails)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/user/keys/:keyId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/user/starred/:owner/:repo)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/user/subscriptions/:owner/:repo)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
esac
;;
esac
;;
GET)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
1)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/emojis'$'\t''Lists all the emojis available to use on GitHub....'$'\n''/events'$'\t''List public events.'$'\n''/feeds'$'\t''List Feeds.'$'\n''/gists'$'\t''List the authenticated user'"'"'s gists or if ...
;;
*)
# subcmds
case ${MYWORDS[1]} in
/emojis)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/bash/githubcl.bash view on Meta::CPAN
/gists)
FLAGS+=()
OPTIONS+=('--q-since' 'Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
Only gists updated at or after this time are returned.
')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-since)
;;
esac
;;
esac
;;
/gists/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/gists/:id/comments)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/gists/:id/comments/:commentId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/gists/:id/star)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/gists/public)
FLAGS+=()
OPTIONS+=('--q-since' 'Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
Only gists updated at or after this time are returned.
')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-since)
;;
esac
;;
esac
;;
/gists/starred)
FLAGS+=()
OPTIONS+=('--q-since' 'Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
Only gists updated at or after this time are returned.
')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-since)
;;
esac
;;
esac
;;
/gitignore/templates)
FLAGS+=()
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/issues)
FLAGS+=()
OPTIONS+=('--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-state' '' '--q-labels' 'String list of comma separated Label names. Example - bug,ui,@high.' '--q-sort' '' '--q-direction' '' '--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.
')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-filter)
_githubcl_compreply "'assigned'"$'\n'"'created'"$'\n'"'mentioned'"$'\n'"'subscribed'"$'\n'"'all'"
;;
--q-state)
_githubcl_compreply "'open'"$'\n'"'closed'"
;;
--q-labels)
;;
--q-sort)
examples/bash/githubcl.bash view on Meta::CPAN
;;
4)
__comp_current_options || return
;;
5)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/legacy/repos/search/:keyword)
FLAGS+=()
OPTIONS+=('--q-order' 'The sort field. if sort param is provided. Can be either asc or desc.' '--q-language' 'Filter results by language' '--q-start_page' 'The page number to fetch' '--q-sort' 'The sort field. One of stars, forks, or upda...
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-order)
_githubcl_compreply "'desc'"$'\n'"'asc'"
;;
--q-language)
;;
--q-start_page)
;;
--q-sort)
_githubcl_compreply "'updated'"$'\n'"'stars'"$'\n'"'forks'"
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/legacy/user/search/:keyword)
FLAGS+=()
OPTIONS+=('--q-order' 'The sort field. if sort param is provided. Can be either asc or desc.' '--q-start_page' 'The page number to fetch' '--q-sort' 'The sort field. One of stars, forks, or updated. Default: results are sorted by best mat...
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-order)
_githubcl_compreply "'desc'"$'\n'"'asc'"
;;
--q-start_page)
;;
--q-sort)
_githubcl_compreply "'updated'"$'\n'"'stars'"$'\n'"'forks'"
;;
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/notifications)
FLAGS+=()
OPTIONS+=('--q-all' 'True to show notifications marked as read.' '--q-participating' 'True to show only notifications in which the user is directly participating
or mentioned.
' '--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".
')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-all)
;;
--q-participating)
;;
--q-since)
;;
esac
;;
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/notifications/threads/:id/subscription)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org/events)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org/issues)
FLAGS+=()
OPTIONS+=('--q-filter' 'Issues assigned to you / created by you / mentioning you / you'"'"'re
subscribed to updates for / All issues the authenticated user can see
examples/bash/githubcl.bash view on Meta::CPAN
Only issues updated at or after this time are returned.
')
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-filter)
_githubcl_compreply "'assigned'"$'\n'"'created'"$'\n'"'mentioned'"$'\n'"'subscribed'"$'\n'"'all'"
;;
--q-state)
_githubcl_compreply "'open'"$'\n'"'closed'"
;;
--q-labels)
;;
--q-sort)
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org/members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org/public_members)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org/public_members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org/repos)
FLAGS+=()
OPTIONS+=('--q-type' '')
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-type)
_githubcl_compreply "'all'"$'\n'"'public'"$'\n'"'private'"$'\n'"'forks'"$'\n'"'sources'"$'\n'"'member'"
;;
esac
;;
esac
;;
/orgs/:org/teams)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/rate_limit)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/:archive_format/:path)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
4)
__comp_current_options || return
_githubcl_compreply "tarball"$'\n'"zipball"
;;
5)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/assignees)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/assignees/:assignee)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/branches)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/branches/:branch)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/collaborators)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/collaborators/:user)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/comments)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/comments/:commentId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/commits)
FLAGS+=()
OPTIONS+=('--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".
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-since)
;;
--q-sha)
;;
--q-path)
;;
--q-author)
;;
--q-until)
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/commits/:shaCode)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/commits/:shaCode/comments)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/compare/:baseId...:headId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
4)
__comp_current_options || return
;;
5)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/contents/:path)
FLAGS+=()
OPTIONS+=('--q-path' 'The content path.' '--q-ref' 'The String name of the Commit/Branch/Tag. Defaults to '"'"'master'"'"'.')
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-path)
;;
--q-ref)
;;
esac
;;
esac
;;
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-anon)
;;
esac
;;
esac
;;
/repos/:owner/:repo/deployments)
FLAGS+=()
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/deployments/:id/statuses)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/downloads)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/downloads/:downloadId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/events)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/forks)
FLAGS+=()
OPTIONS+=('--q-sort' '')
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-sort)
_githubcl_compreply "'newes'"$'\n'"'oldes'"$'\n'"'watchers'"
;;
esac
;;
esac
;;
/repos/:owner/:repo/git/blobs/:shaCode)
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/git/commits/:shaCode)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/git/refs)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/git/refs/:ref)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/git/tags/:shaCode)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/git/trees/:shaCode)
FLAGS+=()
OPTIONS+=('--q-recursive' 'Get a Tree Recursively. (0 or 1)')
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-recursive)
;;
esac
;;
esac
;;
/repos/:owner/:repo/hooks)
FLAGS+=()
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/hooks/:hookId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues)
FLAGS+=()
OPTIONS+=('--q-filter' 'Issues assigned to you / created by you / mentioning you / you'"'"'re
subscribed to updates for / All issues the authenticated user can see
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-filter)
_githubcl_compreply "'assigned'"$'\n'"'created'"$'\n'"'mentioned'"$'\n'"'subscribed'"$'\n'"'all'"
;;
--q-state)
_githubcl_compreply "'open'"$'\n'"'closed'"
;;
--q-labels)
;;
--q-sort)
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues/:number/comments)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues/:number/events)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues/:number/labels)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues/comments)
FLAGS+=()
OPTIONS+=('--q-direction' 'Ignored without '"'"'sort'"'"' parameter.' '--q-sort' '' '--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".
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-direction)
;;
--q-sort)
_githubcl_compreply "'created'"$'\n'"'updated'"
;;
--q-since)
;;
esac
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues/events)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues/events/:eventId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/keys)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/keys/:keyId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/labels)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/labels/:name)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/languages)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/milestones)
FLAGS+=()
OPTIONS+=('--q-state' 'String to filter by state.' '--q-direction' 'Ignored without '"'"'sort'"'"' parameter.' '--q-sort' '')
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-state)
_githubcl_compreply "'open'"$'\n'"'closed'"
;;
--q-direction)
;;
--q-sort)
_githubcl_compreply "'due_date'"$'\n'"'completeness'"
;;
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/milestones/:number/labels)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/notifications)
FLAGS+=()
OPTIONS+=('--q-all' 'True to show notifications marked as read.' '--q-participating' 'True to show only notifications in which the user is directly participating
or mentioned.
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-all)
;;
--q-participating)
;;
--q-since)
;;
esac
;;
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-state)
_githubcl_compreply "'open'"$'\n'"'closed'"
;;
--q-head)
;;
--q-base)
;;
esac
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/pulls/:number/comments)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/pulls/:number/commits)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/pulls/:number/files)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/pulls/:number/merge)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/pulls/comments)
FLAGS+=()
OPTIONS+=('--q-direction' 'Ignored without '"'"'sort'"'"' parameter.' '--q-sort' '' '--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".
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-direction)
;;
--q-sort)
_githubcl_compreply "'created'"$'\n'"'updated'"
;;
--q-since)
;;
esac
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/readme)
FLAGS+=()
OPTIONS+=('--q-ref' 'The String name of the Commit/Branch/Tag. Defaults to master.')
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-ref)
;;
esac
;;
esac
;;
/repos/:owner/:repo/releases)
FLAGS+=()
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/releases/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/releases/:id/assets)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/releases/assets/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/stargazers)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/stats/code_frequency)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/stats/commit_activity)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/stats/contributors)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/stats/participation)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/stats/punch_card)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/statuses/:ref)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/subscribers)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/subscription)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/tags)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/teams)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/watchers)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repositories)
FLAGS+=()
OPTIONS+=('--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".
')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-since)
;;
esac
;;
esac
;;
/search/code)
FLAGS+=()
examples/bash/githubcl.bash view on Meta::CPAN
'"'"'Users'"'"' or '"'"'Repositories'"'"' Limits searches to a specific user or repository.
' '--q-sort' 'Can only be '"'"'indexed'"'"', which indicates how recently a file has been indexed
by the GitHub search infrastructure. If not provided, results are sorted
by best match.
')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-order)
_githubcl_compreply "'desc'"$'\n'"'asc'"
;;
--q-q)
;;
--q-sort)
_githubcl_compreply "'indexed'"
;;
examples/bash/githubcl.bash view on Meta::CPAN
esac
;;
/search/issues)
FLAGS+=()
OPTIONS+=('--q-order' 'The sort field. if sort param is provided. Can be either asc or desc.' '--q-q' 'The q search term can also contain any combination of the supported issue search qualifiers:' '--q-sort' 'The sort field. Can be commen...
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-order)
_githubcl_compreply "'desc'"$'\n'"'asc'"
;;
--q-q)
;;
--q-sort)
_githubcl_compreply "'updated'"$'\n'"'created'"$'\n'"'comments'"
;;
examples/bash/githubcl.bash view on Meta::CPAN
creation, or when they were last updated.
'"'"'Users or Repositories'"'"' Limits searches to a specific user or repository.
'"'"'Languages'"'"' Searches repositories based on the language they are written in.
'"'"'Stars'"'"' Searches repositories based on the number of stars.
' '--q-sort' 'If not provided, results are sorted by best match.')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-order)
_githubcl_compreply "'desc'"$'\n'"'asc'"
;;
--q-q)
;;
--q-sort)
_githubcl_compreply "'stars'"$'\n'"'forks'"$'\n'"'updated'"
;;
examples/bash/githubcl.bash view on Meta::CPAN
'"'"'Language'"'"' Search for users that have repositories that match a certain
language.
'"'"'Created'"'"' Filter users based on when they joined.
'"'"'Followers'"'"' Filter users based on the number of followers they have.
' '--q-sort' 'If not provided, results are sorted by best match.')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-order)
_githubcl_compreply "'desc'"$'\n'"'asc'"
;;
--q-q)
;;
--q-sort)
_githubcl_compreply "'followers'"$'\n'"'repositories'"$'\n'"'joined'"
;;
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/teams/:teamId/members)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/teams/:teamId/members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/teams/:teamId/memberships/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/teams/:teamId/repos)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/teams/:teamId/repos/:owner/:repo)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/user)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/user/issues)
FLAGS+=()
OPTIONS+=('--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-state' '' '--q-labels' 'String list of comma separated Label names. Example - bug,ui,@high.' '--q-sort' '' '--q-direction' '' '--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.
')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-filter)
_githubcl_compreply "'assigned'"$'\n'"'created'"$'\n'"'mentioned'"$'\n'"'subscribed'"$'\n'"'all'"
;;
--q-state)
_githubcl_compreply "'open'"$'\n'"'closed'"
;;
--q-labels)
;;
--q-sort)
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/user/orgs)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/user/repos)
FLAGS+=()
OPTIONS+=('--q-type' '')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-type)
_githubcl_compreply "'all'"$'\n'"'public'"$'\n'"'private'"$'\n'"'forks'"$'\n'"'sources'"$'\n'"'member'"
;;
esac
;;
esac
;;
/user/starred)
FLAGS+=()
OPTIONS+=('--q-direction' 'Ignored without '"'"'sort'"'"' parameter.' '--q-sort' '')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-direction)
;;
--q-sort)
_githubcl_compreply "'created'"$'\n'"'updated'"
;;
esac
;;
esac
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/user/subscriptions)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/user/teams)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/users)
FLAGS+=()
OPTIONS+=('--q-since' 'The integer ID of the last User that you'"'"'ve seen.')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-since)
;;
esac
;;
esac
;;
/users/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/users/:username/events)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/users/:username/events/orgs/:org)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/users/:username/followers)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/users/:username/following/:targetUser)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/users/:username/gists)
FLAGS+=()
OPTIONS+=('--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".
')
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-since)
;;
esac
;;
esac
;;
/users/:username/keys)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/users/:username/orgs)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/users/:username/received_events)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/users/:username/received_events/public)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/users/:username/repos)
FLAGS+=()
OPTIONS+=('--q-type' '')
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-type)
_githubcl_compreply "'all'"$'\n'"'public'"$'\n'"'private'"$'\n'"'forks'"$'\n'"'sources'"$'\n'"'member'"
;;
esac
;;
esac
;;
/users/:username/starred)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/users/:username/subscriptions)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
esac
;;
esac
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/gists/:id/comments/:commentId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/notifications/threads/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/comments/:commentId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/git/refs/:ref)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/hooks/:hookId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues/:number)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues/comments/:commentId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/labels/:name)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/milestones/:number)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/pulls/:number)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/pulls/comments/:commentId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/releases/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/releases/assets/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/teams/:teamId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/user)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/gists/:id/forks)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/markdown)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org/teams)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/commits/:shaCode/comments)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/deployments)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/deployments/:id/statuses)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/forks)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/git/blobs)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/git/commits)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/git/refs)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/git/tags)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/git/trees)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/hooks)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/hooks/:hookId/tests)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues/:number/comments)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues/:number/labels)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/keys)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/labels)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/merges)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/milestones)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/pulls)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/pulls/:number/comments)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/releases)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/statuses/:ref)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/user/emails)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/notifications)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/orgs/:org/public_members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/collaborators/:user)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/contents/:path)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/issues/:number/labels)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/notifications)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/pulls/:number/merge)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/repos/:owner/:repo/subscription)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/teams/:teamId/members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/teams/:teamId/memberships/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/teams/:teamId/repos/:org/:repo)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
examples/bash/githubcl.bash view on Meta::CPAN
;;
3)
__comp_current_options || return
;;
4)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/user/following/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/user/starred/:owner/:repo)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/user/subscriptions/:owner/:repo)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
esac
;;
esac
examples/bash/githubcl.bash view on Meta::CPAN
# subcmds
case ${MYWORDS[2]} in
generate)
FLAGS+=('--zsh' 'for zsh' '--bash' 'for bash')
OPTIONS+=('--name' 'name of the program (optional, override name in spec)')
__githubcl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--name)
;;
esac
;;
esac
;;
esac
examples/bash/metacpancl.bash view on Meta::CPAN
local cur=${COMP_WORDS[$COMP_CWORD]}
# echo "COMP_CWORD:$COMP_CWORD cur:$cur" >>/tmp/comp
declare -a FLAGS
declare -a OPTIONS
declare -a MYWORDS
local INDEX=`expr $COMP_CWORD - 1`
MYWORDS=("${COMP_WORDS[@]:1:$COMP_CWORD}")
FLAGS=('--debug' 'debug' '-d' 'debug' '--verbose' 'verbose' '-v' 'verbose' '--help' 'Show command help' '-h' 'Show command help')
OPTIONS=('--data-file' 'File with data for POST/PUT/PATCH/DELETE requests')
__metacpancl_handle_options_flags
case $INDEX in
0)
__comp_current_options || return
__metacpancl_dynamic_comp 'commands' 'GET'$'\t''GET call'$'\n''POST'$'\t''POST call'$'\n''help'$'\t''Show command help'
;;
*)
examples/bash/metacpancl.bash view on Meta::CPAN
FLAGS+=()
OPTIONS+=()
__metacpancl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/distribution/:distribution)
FLAGS+=()
OPTIONS+=()
__metacpancl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/module/:module)
FLAGS+=()
OPTIONS+=()
__metacpancl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/pod/:module)
FLAGS+=()
OPTIONS+=('--q-content-type' 'Default is text/html')
__metacpancl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-content-type)
_metacpancl_compreply "'text/html'"$'\n'"'text/plain'"$'\n'"'text/x-pod'"$'\n'"'text/x-markdown'"
;;
esac
;;
esac
;;
/release/:author/:release)
examples/bash/metacpancl.bash view on Meta::CPAN
case $INDEX in
2)
__comp_current_options || return
;;
3)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/release/:distribution)
FLAGS+=()
OPTIONS+=()
__metacpancl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
;;
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
esac
;;
esac
;;
/release/_search)
FLAGS+=()
OPTIONS+=('--q-q' 'query ("author:ANDK AND status:latest")' '--q-fields' 'resultset fields' '--q-size' 'how many results')
__metacpancl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--q-q)
;;
--q-fields)
;;
--q-size)
;;
esac
;;
examples/bash/metacpancl.bash view on Meta::CPAN
# subcmds
case ${MYWORDS[2]} in
generate)
FLAGS+=('--zsh' 'for zsh' '--bash' 'for bash')
OPTIONS+=('--name' 'name of the program (optional, override name in spec)')
__metacpancl_handle_options_flags
case $INDEX in
*)
__comp_current_options true || return # after parameters
case ${MYWORDS[$INDEX-1]} in
--data-file)
;;
--name)
;;
esac
;;
esac
;;
esac
examples/digitaloceancl-appspec.yaml view on Meta::CPAN
- rename
- description: new droplet name
in: body
name: name
required: true
type: string
schemes:
- https
swagger: 2.0
options:
- name: data-file
summary: File with data for POST/PUT/PATCH/DELETE requests
type: file
- aliases:
- d
name: debug
summary: debug
type: flag
- aliases:
- v
name: verbose
summary: verbose
examples/githubcl-appspec.yaml view on Meta::CPAN
schema:
$ref: '#/definitions/blobs'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/repos/{owner}/{repo}/git/blobs/{shaCode}:
get:
description: |
Get a Blob.
Since blobs can be any arbitrary binary data, the input and responses for
the blob API takes an encoding parameter that can be either utf-8 or
base64. If your data cannot be losslessly sent as a UTF-8 string, you can
base64 encode it.
parameters:
- description: Name of repository owner.
in: path
name: owner
required: true
type: string
- description: Name of repository.
in: path
name: repo
examples/githubcl-appspec.yaml view on Meta::CPAN
description: OK
schema:
$ref: '#/definitions/codeFrequencyStats'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/repos/{owner}/{repo}/stats/commit_activity:
get:
description: |
Get the last year of commit activity data.
Returns the last year of commit activity grouped by week. The days array
is a group of commits per day, starting on Sunday.
parameters:
- description: Name of repository owner.
in: path
name: owner
required: true
type: string
- description: Name of repository.
in: path
examples/githubcl-appspec.yaml view on Meta::CPAN
- application/json
schemes:
- https
securityDefinitions:
oauth_2_0:
authorizationUrl: https://github.com/login/oauth/authorize
description: |
OAuth2 is a protocol that lets external apps request authorization to private
details in a user's GitHub account without getting their password. This is
preferred over Basic Authentication because tokens can be limited to specific
types of data, and can be revoked by users at any time.
flow: accessCode
scopes:
admin:org: ''
admin:org_hook: ''
admin:public_key: ''
admin:repo_hook: ''
delete_repo: ''
gist: ''
notifications: ''
public_repo: ''
examples/githubcl-appspec.yaml view on Meta::CPAN
user:email: ''
user:follow: ''
write:org: ''
write:public_key: ''
write:repo_hook: ''
tokenUrl: https://github.com/login/oauth/access_token
type: oauth2
swagger: '2.0'
x-hasEquivalentPaths: true
options:
- name: data-file
summary: File with data for POST/PUT/PATCH/DELETE requests
type: file
- aliases:
- d
name: debug
summary: debug
type: flag
- aliases:
- v
name: verbose
summary: verbose
examples/githubcl-appspec.yaml view on Meta::CPAN
options: []
parameters:
- name: owner
required: 1
summary: Name of repository owner.
type: string
- name: repo
required: 1
summary: Name of repository.
type: string
summary: Get the last year of commit activity data....
/repos/:owner/:repo/stats/contributors:
options: []
parameters:
- name: owner
required: 1
summary: Name of repository owner.
type: string
- name: repo
required: 1
summary: Name of repository.
examples/githubcl-openapi.yaml view on Meta::CPAN
- application/json
produces:
- application/json
securityDefinitions:
oauth_2_0:
authorizationUrl: 'https://github.com/login/oauth/authorize'
description: |
OAuth2 is a protocol that lets external apps request authorization to private
details in a user's GitHub account without getting their password. This is
preferred over Basic Authentication because tokens can be limited to specific
types of data, and can be revoked by users at any time.
flow: accessCode
scopes:
'admin:org': ''
'admin:org_hook': ''
'admin:public_key': ''
'admin:repo_hook': ''
delete_repo: ''
gist: ''
notifications: ''
public_repo: ''
examples/githubcl-openapi.yaml view on Meta::CPAN
schema:
$ref: '#/definitions/blobs'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/repos/{owner}/{repo}/git/blobs/{shaCode}':
get:
description: |
Get a Blob.
Since blobs can be any arbitrary binary data, the input and responses for
the blob API takes an encoding parameter that can be either utf-8 or
base64. If your data cannot be losslessly sent as a UTF-8 string, you can
base64 encode it.
parameters:
- description: Name of repository owner.
in: path
name: owner
required: true
type: string
- description: Name of repository.
in: path
name: repo
examples/githubcl-openapi.yaml view on Meta::CPAN
description: OK
schema:
$ref: '#/definitions/codeFrequencyStats'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/repos/{owner}/{repo}/stats/commit_activity':
get:
description: |
Get the last year of commit activity data.
Returns the last year of commit activity grouped by week. The days array
is a group of commits per day, starting on Sunday.
parameters:
- description: Name of repository owner.
in: path
name: owner
required: true
type: string
- description: Name of repository.
in: path
examples/html/digitaloceancl.html view on Meta::CPAN
<h1 id="NAME">NAME</h1>
<p>digitaloceancl - DigitalOcean API</p>
<h1 id="ABSTRACT">ABSTRACT</h1>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<h2 id="GLOBAL-OPTIONS">GLOBAL OPTIONS</h2>
<pre><code> --data-file File with data for POST/PUT/PATCH/DELETE requests
--debug -d debug (flag)
--verbose -v verbose (flag)
--help -h Show command help (flag) </code></pre>
<h2 id="SUBCOMMANDS">SUBCOMMANDS</h2>
<h3 id="GET">GET</h3>
<pre><code> digitaloceancl GET <subcommands></code></pre>
examples/html/githubcl.html view on Meta::CPAN
<h1 id="NAME">NAME</h1>
<p>githubcl - GitHub</p>
<h1 id="ABSTRACT">ABSTRACT</h1>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<h2 id="GLOBAL-OPTIONS">GLOBAL OPTIONS</h2>
<pre><code> --data-file File with data for POST/PUT/PATCH/DELETE requests
--debug -d debug (flag)
--verbose -v verbose (flag)
--help -h Show command help (flag) </code></pre>
<h2 id="SUBCOMMANDS">SUBCOMMANDS</h2>
<h3 id="DELETE">DELETE</h3>
<pre><code> githubcl DELETE <subcommands></code></pre>
examples/html/githubcl.html view on Meta::CPAN
<p>Parameters:</p>
<pre><code> owner * Name of repository owner.
repo * Name of repository. </code></pre>
<h3 id="GET-repos-:owner-:repo-stats-commit_activity">GET /repos/:owner/:repo/stats/commit_activity</h3>
<pre><code> githubcl GET /repos/:owner/:repo/stats/commit_activity <owner> <repo></code></pre>
<p>Get the last year of commit activity data....</p>
<p>Parameters:</p>
<pre><code> owner * Name of repository owner.
repo * Name of repository. </code></pre>
<h3 id="GET-repos-:owner-:repo-stats-contributors">GET /repos/:owner/:repo/stats/contributors</h3>
<pre><code> githubcl GET /repos/:owner/:repo/stats/contributors <owner> <repo></code></pre>
examples/html/metacpancl.html view on Meta::CPAN
<h1 id="NAME">NAME</h1>
<p>metacpancl - MetaCPAN API</p>
<h1 id="ABSTRACT">ABSTRACT</h1>
<h1 id="DESCRIPTION">DESCRIPTION</h1>
<h2 id="GLOBAL-OPTIONS">GLOBAL OPTIONS</h2>
<pre><code> --data-file File with data for POST/PUT/PATCH/DELETE requests
--debug -d debug (flag)
--verbose -v verbose (flag)
--help -h Show command help (flag) </code></pre>
<h2 id="SUBCOMMANDS">SUBCOMMANDS</h2>
<h3 id="GET">GET</h3>
<pre><code> metacpancl GET <subcommands></code></pre>
examples/metacpancl-appspec.yaml view on Meta::CPAN
name: fields
type: string
- description: how many results
in: query
name: size
type: integer
schemes:
- https
swagger: 2.0
options:
- name: data-file
summary: File with data for POST/PUT/PATCH/DELETE requests
type: file
- aliases:
- d
name: debug
summary: debug
type: flag
- aliases:
- v
name: verbose
summary: verbose
examples/pod/digitaloceancl.pod view on Meta::CPAN
=head1 ABSTRACT
=head1 DESCRIPTION
=head2 GLOBAL OPTIONS
--data-file File with data for POST/PUT/PATCH/DELETE requests
--debug -d debug (flag)
--verbose -v verbose (flag)
--help -h Show command help (flag)
=head2 SUBCOMMANDS
=head3 GET
digitaloceancl GET <subcommands>
examples/pod/githubcl.pod view on Meta::CPAN
=head1 ABSTRACT
=head1 DESCRIPTION
=head2 GLOBAL OPTIONS
--data-file File with data for POST/PUT/PATCH/DELETE requests
--debug -d debug (flag)
--verbose -v verbose (flag)
--help -h Show command help (flag)
=head2 SUBCOMMANDS
=head3 DELETE
githubcl DELETE <subcommands>
examples/pod/githubcl.pod view on Meta::CPAN
Parameters:
owner * Name of repository owner.
repo * Name of repository.
=head3 GET /repos/:owner/:repo/stats/commit_activity
githubcl GET /repos/:owner/:repo/stats/commit_activity <owner> <repo>
Get the last year of commit activity data....
Parameters:
owner * Name of repository owner.
repo * Name of repository.
=head3 GET /repos/:owner/:repo/stats/contributors
githubcl GET /repos/:owner/:repo/stats/contributors <owner> <repo>
examples/pod/metacpancl.pod view on Meta::CPAN
=head1 ABSTRACT
=head1 DESCRIPTION
=head2 GLOBAL OPTIONS
--data-file File with data for POST/PUT/PATCH/DELETE requests
--debug -d debug (flag)
--verbose -v verbose (flag)
--help -h Show command help (flag)
=head2 SUBCOMMANDS
=head3 GET
metacpancl GET <subcommands>
examples/zsh/_digitaloceancl view on Meta::CPAN
;;
args)
case $line[2] in
/account)
# ---- Command: GET /account
_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
;;
/droplets)
# ---- Command: GET /droplets
_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
;;
/droplets/:id)
# ---- Command: GET /droplets/: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)
examples/zsh/_digitaloceancl view on Meta::CPAN
;;
args)
case $line[2] in
/droplets/:id/actions)
# ---- Command: POST /droplets/:id/actions
_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
;;
examples/zsh/_digitaloceancl view on Meta::CPAN
args)
case $line[3] in
generate)
# ---- Command: _meta completion 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]' \
'--name[name of the program (optional, override name in spec)]:name' \
'--zsh[for zsh]' \
'--bash[for bash]' \
&& ret=0
examples/zsh/_digitaloceancl view on Meta::CPAN
args)
case $line[3] in
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
;;
examples/zsh/_digitaloceancl view on Meta::CPAN
args)
case $line[3] in
/account)
# ---- Command: help GET /account
_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
;;
/droplets)
# ---- Command: help GET /droplets
_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
;;
/droplets/:id)
# ---- Command: help GET /droplets/: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
examples/zsh/_digitaloceancl view on Meta::CPAN
args)
case $line[3] in
/droplets/:id/actions)
# ---- Command: help POST /droplets/:id/actions
_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/_digitaloceancl view on Meta::CPAN
args)
case $line[4] in
generate)
# ---- Command: help _meta completion generate
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'4: :->cmd4' \
'--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/_digitaloceancl view on Meta::CPAN
args)
case $line[4] in
generate)
# ---- Command: help _meta pod generate
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'4: :->cmd4' \
'--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
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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
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)
examples/zsh/_githubcl view on Meta::CPAN
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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
org)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo)
# ---- Command: DELETE /repos/: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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/collaborators/:user)
# ---- Command: DELETE /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]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/comments/:commentId)
# ---- Command: DELETE /repos/:owner/:repo/comments/:commentId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->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
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/contents/:path)
# ---- Command: DELETE /repos/:owner/:repo/contents/:path
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->path' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/downloads/:downloadId)
# ---- Command: DELETE /repos/:owner/:repo/downloads/:downloadId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->downloadId' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/git/refs/:ref)
# ---- Command: DELETE /repos/:owner/:repo/git/refs/: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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/hooks/:hookId)
# ---- Command: DELETE /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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues/:number/labels)
# ---- Command: DELETE /repos/:owner/:repo/issues/:number/labels
_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)
examples/zsh/_githubcl view on Meta::CPAN
/repos/:owner/:repo/issues/:number/labels/:name)
# ---- Command: DELETE /repos/:owner/:repo/issues/:number/labels/:name
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->number' \
'6: :->name' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues/comments/:commentId)
# ---- Command: DELETE /repos/:owner/:repo/issues/comments/:commentId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->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
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/keys/:keyId)
# ---- Command: DELETE /repos/:owner/:repo/keys/:keyId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->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
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/labels/:name)
# ---- Command: DELETE /repos/:owner/:repo/labels/:name
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->name' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/milestones/:number)
# ---- Command: DELETE /repos/:owner/:repo/milestones/: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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/pulls/comments/:commentId)
# ---- Command: DELETE /repos/:owner/:repo/pulls/comments/:commentId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->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
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/releases/:id)
# ---- 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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
teamId)
examples/zsh/_githubcl view on Meta::CPAN
;;
/teams/:teamId/memberships/:username)
# ---- Command: DELETE /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' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
teamId)
examples/zsh/_githubcl view on Meta::CPAN
;;
/teams/:teamId/repos/:owner/:repo)
# ---- Command: DELETE /teams/:teamId/repos/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->teamId' \
'4: :->owner' \
'5: :->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
teamId)
examples/zsh/_githubcl view on Meta::CPAN
;;
esac
;;
/user/emails)
# ---- Command: DELETE /user/emails
_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: DELETE /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)
examples/zsh/_githubcl view on Meta::CPAN
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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
# ---- 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' \
'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[Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
Only gists updated at or after this time are returned.
]:q-since' \
&& ret=0
;;
/gists/:id)
# ---- Command: GET /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)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/gists/:id/comments)
# ---- Command: GET /gists/:id/comments
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/gists/:id/comments/:commentId)
# ---- Command: GET /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)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/gists/:id/star)
# ---- Command: GET /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)
examples/zsh/_githubcl view on Meta::CPAN
;;
esac
;;
/gists/public)
# ---- Command: GET /gists/public
_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[Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
Only gists updated at or after this time are returned.
]:q-since' \
&& ret=0
;;
/gists/starred)
# ---- Command: GET /gists/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-since[Timestamp in ISO 8601 format YYYY-MM-DDTHH:MM:SSZ.
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)
examples/zsh/_githubcl view on Meta::CPAN
;;
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")' \
examples/zsh/_githubcl view on Meta::CPAN
/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)
examples/zsh/_githubcl view on Meta::CPAN
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]' \
'--q-order[The sort field. if sort param is provided. Can be either asc or desc.]:q-order:("desc" "asc")' \
'--q-language[Filter results by language]:q-language' \
'--q-start_page[The page number to fetch]:q-start_page' \
'--q-sort[The sort field. One of stars, forks, or updated. Default: results are sorted by best match.]:q-sort:("updated" "stars" "forks")' \
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/legacy/user/email/:email)
# ---- Command: GET /legacy/user/email/:email
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->email' \
'--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
email)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/legacy/user/search/:keyword)
# ---- Command: GET /legacy/user/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]' \
'--q-order[The sort field. if sort param is provided. Can be either asc or desc.]:q-order:("desc" "asc")' \
'--q-start_page[The page number to fetch]:q-start_page' \
'--q-sort[The sort field. One of stars, forks, or updated. Default: results are sorted by best match.]:q-sort:("updated" "stars" "forks")' \
&& ret=0
examples/zsh/_githubcl view on Meta::CPAN
;;
esac
;;
/meta)
# ---- Command: GET /meta
_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
;;
/networks/:owner/:repo/events)
# ---- Command: GET /networks/:owner/:repo/events
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
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' \
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
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)
examples/zsh/_githubcl view on Meta::CPAN
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)
examples/zsh/_githubcl view on Meta::CPAN
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)
examples/zsh/_githubcl view on Meta::CPAN
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")' \
examples/zsh/_githubcl view on Meta::CPAN
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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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
esac
;;
/orgs/:org/public_members)
# ---- Command: GET /orgs/:org/public_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/orgs/:org/public_members/:username)
# ---- Command: GET /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)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/orgs/:org/repos)
# ---- Command: GET /orgs/:org/repos
_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-type[]:q-type:("all" "public" "private" "forks" "sources" "member")' \
&& ret=0
case $state in
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/orgs/:org/teams)
# ---- Command: GET /orgs/:org/teams
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
esac
;;
/rate_limit)
# ---- Command: GET /rate_limit
_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
;;
/repos/:owner/:repo)
# ---- Command: GET /repos/: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)
examples/zsh/_githubcl view on Meta::CPAN
/repos/:owner/:repo/:archive_format/:path)
# ---- Command: GET /repos/:owner/:repo/:archive_format/:path
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->archive_format' \
'6: :->path' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/assignees)
# ---- Command: GET /repos/:owner/:repo/assignees
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/assignees/:assignee)
# ---- Command: GET /repos/:owner/:repo/assignees/:assignee
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->assignee' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/branches)
# ---- Command: GET /repos/:owner/:repo/branches
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/branches/:branch)
# ---- Command: GET /repos/:owner/:repo/branches/:branch
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->branch' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/collaborators)
# ---- Command: GET /repos/:owner/:repo/collaborators
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/collaborators/:user)
# ---- Command: GET /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]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/comments)
# ---- Command: GET /repos/:owner/:repo/comments
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/comments/:commentId)
# ---- Command: GET /repos/:owner/:repo/comments/:commentId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->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
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/commits)
# ---- Command: GET /repos/:owner/:repo/commits
_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-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' \
'--q-sha[Sha or branch to start listing commits from.]:q-sha' \
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/commits/:ref/status)
# ---- Command: GET /repos/:owner/:repo/commits/:ref/status
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/commits/:shaCode)
# ---- Command: GET /repos/:owner/:repo/commits/:shaCode
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->shaCode' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/commits/:shaCode/comments)
# ---- Command: GET /repos/:owner/:repo/commits/:shaCode/comments
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->shaCode' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
/repos/:owner/:repo/compare/:baseId...:headId)
# ---- Command: GET /repos/:owner/:repo/compare/:baseId...:headId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->baseId' \
'6: :->headId' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/contents/:path)
# ---- Command: GET /repos/:owner/:repo/contents/:path
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->path' \
'--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-path[The content path.]:q-path' \
'--q-ref[The String name of the Commit/Branch/Tag. Defaults to '"'"'master'"'"'.]:q-ref' \
&& ret=0
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/contributors)
# ---- Command: GET /repos/:owner/:repo/contributors
_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-anon[Set to 1 or true to include anonymous contributors in results.]:q-anon' \
&& ret=0
case $state in
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/deployments)
# ---- Command: GET /repos/:owner/:repo/deployments
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/deployments/:id/statuses)
# ---- Command: GET /repos/:owner/:repo/deployments/:id/statuses
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/downloads)
# ---- Command: GET /repos/:owner/:repo/downloads
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/downloads/:downloadId)
# ---- Command: GET /repos/:owner/:repo/downloads/:downloadId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->downloadId' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/events)
# ---- Command: GET /repos/:owner/:repo/events
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/forks)
# ---- Command: GET /repos/:owner/:repo/forks
_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-sort[]:q-sort:("newes" "oldes" "watchers")' \
&& ret=0
case $state in
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/git/blobs/:shaCode)
# ---- Command: GET /repos/:owner/:repo/git/blobs/:shaCode
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->shaCode' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/git/commits/:shaCode)
# ---- Command: GET /repos/:owner/:repo/git/commits/:shaCode
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->shaCode' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/git/refs)
# ---- Command: GET /repos/:owner/:repo/git/refs
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/git/refs/:ref)
# ---- Command: GET /repos/:owner/:repo/git/refs/: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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/git/tags/:shaCode)
# ---- Command: GET /repos/:owner/:repo/git/tags/:shaCode
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->shaCode' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/git/trees/:shaCode)
# ---- Command: GET /repos/:owner/:repo/git/trees/:shaCode
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->shaCode' \
'--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-recursive[Get a Tree Recursively. (0 or 1)]:q-recursive' \
&& ret=0
case $state in
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/hooks)
# ---- Command: GET /repos/:owner/:repo/hooks
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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")' \
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues/:number/events)
# ---- Command: GET /repos/:owner/:repo/issues/:number/events
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues/:number/labels)
# ---- Command: GET /repos/:owner/:repo/issues/:number/labels
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues/comments)
# ---- Command: GET /repos/:owner/:repo/issues/comments
_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-direction[Ignored without '"'"'sort'"'"' parameter.]:q-direction' \
'--q-sort[]:q-sort:("created" "updated")' \
'--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".
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues/comments/:commentId)
# ---- Command: GET /repos/:owner/:repo/issues/comments/:commentId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->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
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues/events)
# ---- Command: GET /repos/:owner/:repo/issues/events
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues/events/:eventId)
# ---- Command: GET /repos/:owner/:repo/issues/events/:eventId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->eventId' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/keys)
# ---- Command: GET /repos/:owner/:repo/keys
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/keys/:keyId)
# ---- Command: GET /repos/:owner/:repo/keys/:keyId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->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
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/labels)
# ---- Command: GET /repos/:owner/:repo/labels
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/labels/:name)
# ---- Command: GET /repos/:owner/:repo/labels/:name
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->name' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/languages)
# ---- Command: GET /repos/:owner/:repo/languages
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/milestones)
# ---- Command: GET /repos/:owner/:repo/milestones
_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-state[String to filter by state.]:q-state:("open" "closed")' \
'--q-direction[Ignored without '"'"'sort'"'"' parameter.]:q-direction' \
'--q-sort[]:q-sort:("due_date" "completeness")' \
&& ret=0
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/milestones/:number)
# ---- Command: GET /repos/:owner/:repo/milestones/: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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/milestones/:number/labels)
# ---- Command: GET /repos/:owner/:repo/milestones/:number/labels
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/notifications)
# ---- Command: GET /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]' \
'--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' \
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/pulls)
# ---- Command: GET /repos/:owner/:repo/pulls
_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-state[String to filter by state.]:q-state:("open" "closed")' \
'--q-head[Filter pulls by head user and branch name in the format of '"'"'user:ref-name'"'"'.
Example: github:new-script-format.
]:q-head' \
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/pulls/:number)
# ---- Command: GET /repos/:owner/:repo/pulls/: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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/pulls/:number/comments)
# ---- Command: GET /repos/:owner/:repo/pulls/: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' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/pulls/:number/commits)
# ---- Command: GET /repos/:owner/:repo/pulls/:number/commits
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/pulls/:number/files)
# ---- Command: GET /repos/:owner/:repo/pulls/:number/files
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/pulls/:number/merge)
# ---- Command: GET /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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/pulls/comments)
# ---- Command: GET /repos/:owner/:repo/pulls/comments
_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-direction[Ignored without '"'"'sort'"'"' parameter.]:q-direction' \
'--q-sort[]:q-sort:("created" "updated")' \
'--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".
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/pulls/comments/:commentId)
# ---- Command: GET /repos/:owner/:repo/pulls/comments/:commentId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->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
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/readme)
# ---- Command: GET /repos/:owner/:repo/readme
_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-ref[The String name of the Commit/Branch/Tag. Defaults to master.]:q-ref' \
&& ret=0
case $state in
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/releases)
# ---- Command: GET /repos/:owner/:repo/releases
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/releases/:id)
# ---- Command: GET /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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/releases/:id/assets)
# ---- Command: GET /repos/:owner/:repo/releases/:id/assets
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/releases/assets/:id)
# ---- Command: GET /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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/stargazers)
# ---- Command: GET /repos/:owner/:repo/stargazers
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/stats/code_frequency)
# ---- Command: GET /repos/:owner/:repo/stats/code_frequency
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/stats/commit_activity)
# ---- Command: GET /repos/:owner/:repo/stats/commit_activity
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/stats/contributors)
# ---- Command: GET /repos/:owner/:repo/stats/contributors
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/stats/participation)
# ---- Command: GET /repos/:owner/:repo/stats/participation
_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)
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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/watchers)
# ---- Command: GET /repos/:owner/:repo/watchers
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
esac
;;
/repositories)
# ---- Command: GET /repositories
_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 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
;;
/search/code)
# ---- Command: GET /search/code
_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-order[The sort field. if sort param is provided. Can be either asc or desc.]:q-order:("desc" "asc")' \
'--q-q[The search terms. This can be any combination of the supported code
search parameters:
'"'"'Search In'"'"' Qualifies which fields are searched. With this qualifier
examples/zsh/_githubcl view on Meta::CPAN
&& ret=0
;;
/search/issues)
# ---- Command: GET /search/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-order[The sort field. if sort param is provided. Can be either asc or desc.]:q-order:("desc" "asc")' \
'--q-q[The q search term can also contain any combination of the supported issue search qualifiers:]:q-q' \
'--q-sort[The sort field. Can be comments, created, or updated. Default: results are sorted by best match.]:q-sort:("updated" "created" "comments")' \
&& ret=0
;;
/search/repositories)
# ---- Command: GET /search/repositories
_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-order[The sort field. if sort param is provided. Can be either asc or desc.]:q-order:("desc" "asc")' \
'--q-q[The search terms. This can be any combination of the supported repository
search parameters:
'"'"'Search In'"'"' Qualifies which fields are searched. With this qualifier you
examples/zsh/_githubcl view on Meta::CPAN
&& ret=0
;;
/search/users)
# ---- Command: GET /search/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-order[The sort field. if sort param is provided. Can be either asc or desc.]:q-order:("desc" "asc")' \
'--q-q[The search terms. This can be any combination of the supported user
search parameters:
'"'"'Search In'"'"' Qualifies which fields are searched. With this qualifier you
examples/zsh/_githubcl view on Meta::CPAN
;;
/teams/:teamId)
# ---- Command: GET /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)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/teams/:teamId/members)
# ---- Command: GET /teams/:teamId/members
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/teams/:teamId/members/:username)
# ---- Command: GET /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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/teams/:teamId/memberships/:username)
# ---- Command: GET /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' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
teamId)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/teams/:teamId/repos)
# ---- Command: GET /teams/:teamId/repos
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/teams/:teamId/repos/:owner/:repo)
# ---- Command: GET /teams/:teamId/repos/:owner/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->teamId' \
'4: :->owner' \
'5: :->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
teamId)
examples/zsh/_githubcl view on Meta::CPAN
;;
esac
;;
/user)
# ---- Command: GET /user
_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/emails)
# ---- Command: GET /user/emails
_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/followers)
# ---- Command: GET /user/followers
_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)
# ---- 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)
examples/zsh/_githubcl view on Meta::CPAN
;;
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")' \
examples/zsh/_githubcl view on Meta::CPAN
&& 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)
examples/zsh/_githubcl view on Meta::CPAN
;;
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]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
;;
/user/repos)
# ---- Command: GET /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]' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
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)
examples/zsh/_githubcl view on Meta::CPAN
;;
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)
# ---- Command: GET /users/: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)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/users/:username/events)
# ---- Command: GET /users/:username/events
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/users/:username/events/orgs/:org)
# ---- Command: GET /users/:username/events/orgs/:org
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->username' \
'4: :->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
username)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/users/:username/followers)
# ---- Command: GET /users/:username/followers
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/users/:username/following/:targetUser)
# ---- Command: GET /users/:username/following/:targetUser
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->username' \
'4: :->targetUser' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/users/:username/gists)
# ---- Command: GET /users/:username/gists
_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-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
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/users/:username/keys)
# ---- Command: GET /users/:username/keys
_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)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/users/:username/orgs)
# ---- Command: GET /users/:username/orgs
_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)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/users/:username/received_events)
# ---- Command: GET /users/:username/received_events
_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)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/users/:username/received_events/public)
# ---- Command: GET /users/:username/received_events/public
_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)
examples/zsh/_githubcl view on Meta::CPAN
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
examples/zsh/_githubcl view on Meta::CPAN
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)
examples/zsh/_githubcl view on Meta::CPAN
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)
examples/zsh/_githubcl view on Meta::CPAN
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
id)
examples/zsh/_githubcl view on Meta::CPAN
;;
/gists/:id/comments/:commentId)
# ---- Command: PATCH /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)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/notifications/threads/:id)
# ---- Command: PATCH /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)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/orgs/:org)
# ---- Command: PATCH /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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo)
# ---- Command: PATCH /repos/: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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/comments/:commentId)
# ---- Command: PATCH /repos/:owner/:repo/comments/:commentId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->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
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/git/refs/:ref)
# ---- Command: PATCH /repos/:owner/:repo/git/refs/: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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/hooks/:hookId)
# ---- Command: PATCH /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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues/:number)
# ---- Command: PATCH /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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues/comments/:commentId)
# ---- Command: PATCH /repos/:owner/:repo/issues/comments/:commentId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->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
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/labels/:name)
# ---- Command: PATCH /repos/:owner/:repo/labels/:name
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->name' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/milestones/:number)
# ---- Command: PATCH /repos/:owner/:repo/milestones/: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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/pulls/:number)
# ---- Command: PATCH /repos/:owner/:repo/pulls/: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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/pulls/comments/:commentId)
# ---- Command: PATCH /repos/:owner/:repo/pulls/comments/:commentId
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->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
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/releases/:id)
# ---- Command: PATCH /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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/releases/assets/:id)
# ---- Command: PATCH /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)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/teams/:teamId)
# ---- Command: PATCH /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)
examples/zsh/_githubcl view on Meta::CPAN
;;
esac
;;
/user)
# ---- Command: PATCH /user
_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
;;
examples/zsh/_githubcl view on Meta::CPAN
;;
args)
case $line[2] in
/gists)
# ---- Command: POST /gists
_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/:id/comments)
# ---- Command: POST /gists/:id/comments
_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)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/gists/:id/forks)
# ---- Command: POST /gists/:id/forks
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
esac
;;
/markdown)
# ---- Command: POST /markdown
_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
;;
/markdown/raw)
# ---- Command: POST /markdown/raw
_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
;;
/orgs/:org/repos)
# ---- Command: POST /orgs/:org/repos
_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)
examples/zsh/_githubcl view on Meta::CPAN
esac
;;
/orgs/:org/teams)
# ---- Command: POST /orgs/:org/teams
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/commits/:shaCode/comments)
# ---- Command: POST /repos/:owner/:repo/commits/:shaCode/comments
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->shaCode' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/deployments)
# ---- Command: POST /repos/:owner/:repo/deployments
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/deployments/:id/statuses)
# ---- Command: POST /repos/:owner/:repo/deployments/:id/statuses
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/forks)
# ---- Command: POST /repos/:owner/:repo/forks
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/git/blobs)
# ---- Command: POST /repos/:owner/:repo/git/blobs
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/git/commits)
# ---- Command: POST /repos/:owner/:repo/git/commits
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/git/refs)
# ---- Command: POST /repos/:owner/:repo/git/refs
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/git/tags)
# ---- Command: POST /repos/:owner/:repo/git/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/git/trees)
# ---- Command: POST /repos/:owner/:repo/git/trees
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/hooks)
# ---- Command: POST /repos/:owner/:repo/hooks
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/hooks/:hookId/tests)
# ---- Command: POST /repos/:owner/:repo/hooks/:hookId/tests
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues)
# ---- Command: POST /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]' \
&& ret=0
case $state in
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues/:number/comments)
# ---- Command: POST /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' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues/:number/labels)
# ---- Command: POST /repos/:owner/:repo/issues/:number/labels
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/keys)
# ---- Command: POST /repos/:owner/:repo/keys
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/labels)
# ---- Command: POST /repos/:owner/:repo/labels
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/merges)
# ---- Command: POST /repos/:owner/:repo/merges
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/milestones)
# ---- Command: POST /repos/:owner/:repo/milestones
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/pulls)
# ---- Command: POST /repos/:owner/:repo/pulls
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/pulls/:number/comments)
# ---- Command: POST /repos/:owner/:repo/pulls/: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' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/releases)
# ---- Command: POST /repos/:owner/:repo/releases
_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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/statuses/:ref)
# ---- Command: POST /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)
examples/zsh/_githubcl view on Meta::CPAN
;;
esac
;;
/user/emails)
# ---- Command: POST /user/emails
_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)
# ---- 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
;;
examples/zsh/_githubcl view on Meta::CPAN
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)
examples/zsh/_githubcl view on Meta::CPAN
;;
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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
owner)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/contents/:path)
# ---- Command: PUT /repos/:owner/:repo/contents/:path
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->owner' \
'4: :->repo' \
'5: :->path' \
'--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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/repos/:owner/:repo/issues/:number/labels)
# ---- Command: PUT /repos/:owner/:repo/issues/:number/labels
_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)
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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
teamId)
examples/zsh/_githubcl view on Meta::CPAN
;;
/teams/:teamId/repos/:org/:repo)
# ---- Command: PUT /teams/:teamId/repos/:org/:repo
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->teamId' \
'4: :->org' \
'5: :->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
teamId)
examples/zsh/_githubcl view on Meta::CPAN
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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
;;
/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)
examples/zsh/_githubcl view on Meta::CPAN
args)
case $line[3] in
generate)
# ---- Command: _meta completion 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]' \
'--name[name of the program (optional, override name in spec)]:name' \
'--zsh[for zsh]' \
'--bash[for bash]' \
&& ret=0
examples/zsh/_githubcl view on Meta::CPAN
args)
case $line[3] in
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
;;
examples/zsh/_githubcl view on Meta::CPAN
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' \
'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 DELETE /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/comments/:commentId)
# ---- Command: help DELETE /repos/:owner/:repo/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/contents/:path)
# ---- Command: help DELETE /repos/:owner/:repo/contents/:path
_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/downloads/:downloadId)
# ---- Command: help DELETE /repos/:owner/:repo/downloads/:downloadId
_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/git/refs/:ref)
# ---- Command: help DELETE /repos/:owner/:repo/git/refs/: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/hooks/:hookId)
# ---- Command: help DELETE /repos/:owner/:repo/hooks/:hookId
_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/issues/:number/labels)
# ---- Command: help DELETE /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/issues/:number/labels/:name)
# ---- Command: help DELETE /repos/:owner/:repo/issues/:number/labels/:name
_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/issues/comments/:commentId)
# ---- Command: help DELETE /repos/:owner/:repo/issues/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/keys/:keyId)
# ---- Command: help DELETE /repos/:owner/:repo/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
;;
/repos/:owner/:repo/labels/:name)
# ---- Command: help DELETE /repos/:owner/:repo/labels/:name
_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/milestones/:number)
# ---- Command: help DELETE /repos/:owner/:repo/milestones/:number
_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/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' \
'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/:owner/:repo)
# ---- Command: help DELETE /teams/:teamId/repos/: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/emails)
# ---- Command: help DELETE /user/emails
_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 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
examples/zsh/_githubcl view on Meta::CPAN
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
;;
/gists)
# ---- Command: help GET /gists
_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)
# ---- Command: help GET /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)
# ---- Command: help GET /gists/:id/comments
_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 GET /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 GET /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
;;
/gists/public)
# ---- Command: help GET /gists/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
;;
/gists/starred)
# ---- Command: help GET /gists/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
;;
/gitignore/templates)
# ---- Command: help GET /gitignore/templates
_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
;;
/gitignore/templates/:language)
# ---- Command: help GET /gitignore/templates/:language
_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
;;
/issues)
# ---- Command: help GET /issues
_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
;;
/legacy/issues/search/:owner/:repository/:state/:keyword)
# ---- Command: help GET /legacy/issues/search/:owner/:repository/:state/:keyword
_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
;;
/legacy/repos/search/:keyword)
# ---- Command: help GET /legacy/repos/search/:keyword
_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
;;
/legacy/user/email/:email)
# ---- Command: help GET /legacy/user/email/:email
_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
;;
/legacy/user/search/:keyword)
# ---- Command: help GET /legacy/user/search/:keyword
_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
;;
/meta)
# ---- Command: help GET /meta
_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
;;
/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' \
'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)
# ---- Command: help GET /orgs/:org/members
_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 GET /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)
# ---- Command: help GET /orgs/:org/public_members
_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 GET /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
;;
/orgs/:org/repos)
# ---- Command: help GET /orgs/:org/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
;;
/orgs/:org/teams)
# ---- Command: help GET /orgs/:org/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
;;
/rate_limit)
# ---- Command: help GET /rate_limit
_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 GET /repos/: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
;;
/repos/:owner/:repo/:archive_format/:path)
# ---- Command: help GET /repos/:owner/:repo/:archive_format/:path
_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/assignees)
# ---- Command: help GET /repos/:owner/:repo/assignees
_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/assignees/:assignee)
# ---- Command: help GET /repos/:owner/:repo/assignees/:assignee
_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/branches)
# ---- Command: help GET /repos/:owner/:repo/branches
_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/branches/:branch)
# ---- Command: help GET /repos/:owner/:repo/branches/:branch
_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)
# ---- Command: help GET /repos/:owner/:repo/collaborators
_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 GET /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/comments)
# ---- Command: help GET /repos/:owner/:repo/comments
_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/comments/:commentId)
# ---- Command: help GET /repos/:owner/:repo/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/commits)
# ---- Command: help GET /repos/:owner/:repo/commits
_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/commits/:ref/status)
# ---- Command: help GET /repos/:owner/:repo/commits/:ref/status
_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/commits/:shaCode)
# ---- Command: help GET /repos/:owner/:repo/commits/:shaCode
_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/commits/:shaCode/comments)
# ---- Command: help GET /repos/:owner/:repo/commits/:shaCode/comments
_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/compare/:baseId...:headId)
# ---- Command: help GET /repos/:owner/:repo/compare/:baseId...:headId
_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 GET /repos/:owner/:repo/contents/:path
_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/contributors)
# ---- Command: help GET /repos/:owner/:repo/contributors
_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/deployments)
# ---- Command: help GET /repos/:owner/:repo/deployments
_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/deployments/:id/statuses)
# ---- Command: help GET /repos/:owner/:repo/deployments/:id/statuses
_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/downloads)
# ---- Command: help GET /repos/:owner/:repo/downloads
_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/downloads/:downloadId)
# ---- Command: help GET /repos/:owner/:repo/downloads/:downloadId
_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/events)
# ---- Command: help GET /repos/: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
;;
/repos/:owner/:repo/forks)
# ---- Command: help GET /repos/:owner/:repo/forks
_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/git/blobs/:shaCode)
# ---- Command: help GET /repos/:owner/:repo/git/blobs/:shaCode
_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/git/commits/:shaCode)
# ---- Command: help GET /repos/:owner/:repo/git/commits/:shaCode
_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/git/refs)
# ---- Command: help GET /repos/:owner/:repo/git/refs
_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/git/refs/:ref)
# ---- Command: help GET /repos/:owner/:repo/git/refs/: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/git/tags/:shaCode)
# ---- Command: help GET /repos/:owner/:repo/git/tags/:shaCode
_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/git/trees/:shaCode)
# ---- Command: help GET /repos/:owner/:repo/git/trees/:shaCode
_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/hooks)
# ---- Command: help GET /repos/:owner/:repo/hooks
_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/hooks/:hookId)
# ---- Command: help GET /repos/:owner/:repo/hooks/:hookId
_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/issues)
# ---- Command: help GET /repos/:owner/:repo/issues
_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/issues/:number)
# ---- Command: help GET /repos/:owner/:repo/issues/:number
_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/issues/:number/comments)
# ---- Command: help GET /repos/:owner/:repo/issues/:number/comments
_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/issues/:number/events)
# ---- Command: help GET /repos/:owner/:repo/issues/:number/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
;;
/repos/:owner/:repo/issues/:number/labels)
# ---- Command: help GET /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/issues/comments)
# ---- Command: help GET /repos/:owner/:repo/issues/comments
_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/issues/comments/:commentId)
# ---- Command: help GET /repos/:owner/:repo/issues/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/issues/events)
# ---- Command: help GET /repos/:owner/:repo/issues/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
;;
/repos/:owner/:repo/issues/events/:eventId)
# ---- Command: help GET /repos/:owner/:repo/issues/events/:eventId
_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/keys)
# ---- Command: help GET /repos/:owner/:repo/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
;;
/repos/:owner/:repo/keys/:keyId)
# ---- Command: help GET /repos/:owner/:repo/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
;;
/repos/:owner/:repo/labels)
# ---- Command: help GET /repos/:owner/:repo/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/labels/:name)
# ---- Command: help GET /repos/:owner/:repo/labels/:name
_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/languages)
# ---- Command: help GET /repos/:owner/:repo/languages
_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/milestones)
# ---- Command: help GET /repos/:owner/:repo/milestones
_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/milestones/:number)
# ---- Command: help GET /repos/:owner/:repo/milestones/:number
_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/milestones/:number/labels)
# ---- Command: help GET /repos/:owner/:repo/milestones/: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 GET /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)
# ---- Command: help GET /repos/:owner/:repo/pulls
_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)
# ---- Command: help GET /repos/:owner/:repo/pulls/:number
_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/comments)
# ---- Command: help GET /repos/:owner/:repo/pulls/:number/comments
_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/commits)
# ---- Command: help GET /repos/:owner/:repo/pulls/:number/commits
_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/files)
# ---- Command: help GET /repos/:owner/:repo/pulls/:number/files
_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 GET /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/pulls/comments)
# ---- Command: help GET /repos/:owner/:repo/pulls/comments
_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/comments/:commentId)
# ---- Command: help GET /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/readme)
# ---- Command: help GET /repos/:owner/:repo/readme
_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)
# ---- Command: help GET /repos/:owner/:repo/releases
_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 GET /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/:id/assets)
# ---- Command: help GET /repos/:owner/:repo/releases/:id/assets
_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 GET /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/stargazers)
# ---- Command: help GET /repos/:owner/:repo/stargazers
_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/code_frequency)
# ---- Command: help GET /repos/:owner/:repo/stats/code_frequency
_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/commit_activity)
# ---- Command: help GET /repos/:owner/:repo/stats/commit_activity
_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/contributors)
# ---- Command: help GET /repos/:owner/:repo/stats/contributors
_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/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' \
'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
;;
/repositories)
# ---- Command: help GET /repositories
_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
;;
/search/code)
# ---- Command: help GET /search/code
_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
;;
/search/issues)
# ---- Command: help GET /search/issues
_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
;;
/search/repositories)
# ---- Command: help GET /search/repositories
_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
;;
/search/users)
# ---- Command: help GET /search/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
;;
/teams/:teamId)
# ---- Command: help GET /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)
# ---- Command: help GET /teams/:teamId/members
_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 GET /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 GET /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)
# ---- Command: help GET /teams/:teamId/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
;;
/teams/:teamId/repos/:owner/:repo)
# ---- Command: help GET /teams/:teamId/repos/: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)
# ---- Command: help GET /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
;;
/user/emails)
# ---- Command: help GET /user/emails
_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/followers)
# ---- Command: help GET /user/followers
_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)
# ---- Command: help GET /user/following
_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 GET /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/issues)
# ---- Command: help GET /user/issues
_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)
# ---- Command: help GET /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/keys/:keyId)
# ---- Command: help GET /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/orgs)
# ---- Command: help GET /user/orgs
_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 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' \
'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/events)
# ---- Command: help GET /users/:username/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
;;
/users/:username/events/orgs/:org)
# ---- Command: help GET /users/:username/events/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
;;
/users/:username/followers)
# ---- Command: help GET /users/:username/followers
_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/following/:targetUser)
# ---- Command: help GET /users/:username/following/:targetUser
_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/gists)
# ---- Command: help GET /users/:username/gists
_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/keys)
# ---- Command: help GET /users/:username/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
;;
/users/:username/orgs)
# ---- Command: help GET /users/:username/orgs
_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/received_events)
# ---- Command: help GET /users/:username/received_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
;;
/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
examples/zsh/_githubcl view on Meta::CPAN
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)
# ---- Command: help PATCH /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
;;
/notifications/threads/:id)
# ---- Command: help PATCH /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
;;
/orgs/:org)
# ---- Command: help PATCH /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
;;
/repos/:owner/:repo)
# ---- Command: help PATCH /repos/: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
;;
/repos/:owner/:repo/comments/:commentId)
# ---- Command: help PATCH /repos/:owner/:repo/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/git/refs/:ref)
# ---- Command: help PATCH /repos/:owner/:repo/git/refs/: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/hooks/:hookId)
# ---- Command: help PATCH /repos/:owner/:repo/hooks/:hookId
_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/issues/:number)
# ---- Command: help PATCH /repos/:owner/:repo/issues/:number
_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/issues/comments/:commentId)
# ---- Command: help PATCH /repos/:owner/:repo/issues/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/labels/:name)
# ---- Command: help PATCH /repos/:owner/:repo/labels/:name
_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/milestones/:number)
# ---- Command: help PATCH /repos/:owner/:repo/milestones/:number
_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)
# ---- Command: help PATCH /repos/:owner/:repo/pulls/:number
_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/comments/:commentId)
# ---- Command: help PATCH /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 PATCH /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 PATCH /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
;;
/teams/:teamId)
# ---- Command: help PATCH /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
;;
/user)
# ---- Command: help PATCH /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
examples/zsh/_githubcl view on Meta::CPAN
args)
case $line[3] in
/gists)
# ---- Command: help POST /gists
_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)
# ---- Command: help POST /gists/:id/comments
_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/forks)
# ---- Command: help POST /gists/:id/forks
_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
;;
/markdown)
# ---- Command: help POST /markdown
_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
;;
/markdown/raw)
# ---- Command: help POST /markdown/raw
_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/repos)
# ---- Command: help POST /orgs/:org/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
;;
/orgs/:org/teams)
# ---- Command: help POST /orgs/:org/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/commits/:shaCode/comments)
# ---- Command: help POST /repos/:owner/:repo/commits/:shaCode/comments
_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/deployments)
# ---- Command: help POST /repos/:owner/:repo/deployments
_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/deployments/:id/statuses)
# ---- Command: help POST /repos/:owner/:repo/deployments/:id/statuses
_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/forks)
# ---- Command: help POST /repos/:owner/:repo/forks
_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/git/blobs)
# ---- Command: help POST /repos/:owner/:repo/git/blobs
_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/git/commits)
# ---- Command: help POST /repos/:owner/:repo/git/commits
_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/git/refs)
# ---- Command: help POST /repos/:owner/:repo/git/refs
_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/git/tags)
# ---- Command: help POST /repos/:owner/:repo/git/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/git/trees)
# ---- Command: help POST /repos/:owner/:repo/git/trees
_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/hooks)
# ---- Command: help POST /repos/:owner/:repo/hooks
_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/hooks/:hookId/tests)
# ---- Command: help POST /repos/:owner/:repo/hooks/:hookId/tests
_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/issues)
# ---- Command: help POST /repos/:owner/:repo/issues
_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/issues/:number/comments)
# ---- Command: help POST /repos/:owner/:repo/issues/:number/comments
_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/issues/:number/labels)
# ---- Command: help POST /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/keys)
# ---- Command: help POST /repos/:owner/:repo/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
;;
/repos/:owner/:repo/labels)
# ---- Command: help POST /repos/:owner/:repo/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/merges)
# ---- Command: help POST /repos/:owner/:repo/merges
_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/milestones)
# ---- Command: help POST /repos/:owner/:repo/milestones
_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)
# ---- Command: help POST /repos/:owner/:repo/pulls
_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/comments)
# ---- Command: help POST /repos/:owner/:repo/pulls/:number/comments
_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)
# ---- Command: help POST /repos/:owner/:repo/releases
_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 POST /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
;;
/user/emails)
# ---- Command: help POST /user/emails
_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)
# ---- 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
examples/zsh/_githubcl view on Meta::CPAN
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' \
'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/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
examples/zsh/_githubcl view on Meta::CPAN
args)
case $line[4] in
generate)
# ---- Command: help _meta completion generate
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'4: :->cmd4' \
'--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
args)
case $line[4] in
generate)
# ---- Command: help _meta pod generate
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'4: :->cmd4' \
'--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/_metacpancl view on Meta::CPAN
args)
case $line[2] in
/author/:author)
# ---- Command: GET /author/:author
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->author' \
'--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
author)
examples/zsh/_metacpancl view on Meta::CPAN
esac
;;
/distribution/:distribution)
# ---- Command: GET /distribution/:distribution
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->distribution' \
'--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
distribution)
examples/zsh/_metacpancl view on Meta::CPAN
esac
;;
/module/:module)
# ---- Command: GET /module/:module
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->module' \
'--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
module)
examples/zsh/_metacpancl view on Meta::CPAN
esac
;;
/pod/:module)
# ---- Command: GET /pod/:module
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->module' \
'--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-content-type[Default is text/html]:q-content-type:("text/html" "text/plain" "text/x-pod" "text/x-markdown")' \
&& ret=0
case $state in
examples/zsh/_metacpancl view on Meta::CPAN
;;
/release/:author/:release)
# ---- Command: GET /release/:author/:release
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->author' \
'4: :->release' \
'--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
author)
examples/zsh/_metacpancl view on Meta::CPAN
esac
;;
/release/:distribution)
# ---- Command: GET /release/:distribution
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->distribution' \
'--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
distribution)
examples/zsh/_metacpancl view on Meta::CPAN
;;
esac
;;
/release/_search)
# ---- Command: GET /release/_search
_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-q[query ("author:ANDK AND status:latest")]:q-q' \
'--q-fields[resultset fields]:q-fields' \
'--q-size[how many results]:q-size' \
&& ret=0
examples/zsh/_metacpancl view on Meta::CPAN
;;
args)
case $line[2] in
/file)
# ---- Command: POST /file
_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
;;
examples/zsh/_metacpancl view on Meta::CPAN
args)
case $line[3] in
generate)
# ---- Command: _meta completion 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]' \
'--name[name of the program (optional, override name in spec)]:name' \
'--zsh[for zsh]' \
'--bash[for bash]' \
&& ret=0
examples/zsh/_metacpancl view on Meta::CPAN
args)
case $line[3] in
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
;;
examples/zsh/_metacpancl view on Meta::CPAN
args)
case $line[3] in
/author/:author)
# ---- Command: help GET /author/:author
_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
;;
/distribution/:distribution)
# ---- Command: help GET /distribution/:distribution
_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
;;
/module/:module)
# ---- Command: help GET /module/:module
_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
;;
/pod/:module)
# ---- Command: help GET /pod/:module
_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
;;
/release/:author/:release)
# ---- Command: help GET /release/:author/:release
_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
;;
/release/:distribution)
# ---- Command: help GET /release/:distribution
_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
;;
/release/_search)
# ---- Command: help GET /release/_search
_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/_metacpancl view on Meta::CPAN
args)
case $line[3] in
/file)
# ---- Command: help POST /file
_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/_metacpancl view on Meta::CPAN
args)
case $line[4] in
generate)
# ---- Command: help _meta completion generate
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'4: :->cmd4' \
'--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/_metacpancl view on Meta::CPAN
args)
case $line[4] in
generate)
# ---- Command: help _meta pod generate
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'4: :->cmd4' \
'--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
lib/API/CLI.pm view on Meta::CPAN
method => $method,
path => $path,
options => $opt,
parameters => $params,
verbose => $opt->{verbose} ? 1 : 0,
);
$self->add_auth($REQ);
if ($method =~ m/^(POST|PUT|PATCH|DELETE)$/) {
my $data_file = $opt->{'data-file'};
if (defined $data_file) {
open my $fh, '<', $data_file or die "Could not open '$data_file': $!";
my $data = do { local $/; <$fh> };
close $fh;
$REQ->content($data);
}
}
my ($ok, $out, $content) = $REQ->request;
if (defined $out) {
unless ($ok) {
$out = $run->error($out);
}
warn $out;
}
lib/API/CLI/App/Spec.pm view on Meta::CPAN
options => \@options,
};
}
}
$spec->{openapi} = $openapi;
my $options = $spec->{options} ||= [];
push @$options, {
name => "data-file",
type => "file",
summary => "File with data for POST/PUT/PATCH/DELETE requests",
};
push @$options, {
name => "debug",
type => "flag",
summary => "debug",
aliases => ['d'],
};
push @$options, {
name => "verbose",
type => "flag",
lib/API/CLI/App/Spec.pm view on Meta::CPAN
Returns a L<App::Spec> object from an OpenAPI structure.
=item openapi2appspec
my $hashref = API::CLI::App::Spec->openapi2appspec(
openapi => $openapi,
name => $name,
class => $class,
);
Returns a hashref representing L<App::Spec> data
=item param2appspec
my $appspec_param = $class->param2appspec($p);
Returns a Parameter for L<App::Spec> from an OpenAPI parameter.
=item openapi
Attribute which stores the OpenAPI structure.
lib/API/CLI/Request.pm view on Meta::CPAN
my $ua = LWP::UserAgent->new;
my $req = $self->req;
my $res = $ua->request($req);
my $code = $res->code;
my $content = $res->decoded_content;
my $status = $res->status_line;
my $ct = $res->content_type;
my $out = $self->verbose ? "Response: $status ($ct)\n" : undef;
my $data;
my $ok = 0;
if ($res->is_success) {
$ok = 1;
if ($ct eq 'application/json') {
my $coder = JSON::XS->new->ascii->pretty->allow_nonref;
$data = $coder->decode($content);
$content = $coder->encode($data);
}
}
return ($ok, $out, $content);
}
sub content {
shift->req->content(@_);
}
lib/API/CLI/Request.pm view on Meta::CPAN
=head1 NAME
API::CLI::Request = Does the actual request to the API
=head1 METHODS
=over 4
=item content
$req->content($data);
Sets POST/PUT/PATCH content
=item from_openapi
=item header
=item method