API-CLI
view release on metacpan or search on metacpan
examples/zsh/_githubcl view on Meta::CPAN
owner)
;;
repo)
;;
esac
;;
/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)
;;
repo)
;;
commentId)
;;
esac
;;
/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' \
'--q-path[Only commits containing this file path will be returned.]:q-path' \
'--q-author[GitHub login, name, or email by which to filter by commit author.]:q-author' \
'--q-until[ISO 8601 Date - Only commits before this date will be returned.]:q-until' \
&& ret=0
case $state in
owner)
;;
repo)
;;
esac
;;
/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)
;;
repo)
;;
ref)
;;
esac
;;
/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]' \
( run in 0.847 second using v1.01-cache-2.11-cpan-39bf76dae61 )