view release on metacpan or search on metacpan
examples/bash/githubcl.bash view on Meta::CPAN
# subcmds
case ${MYWORDS[0]} in
DELETE)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
1)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/gists/:id'$'\t''Delete a gist.'$'\n''/gists/:id/comments/:commentId'$'\t''Delete a comment.'$'\n''/gists/:id/star'$'\t''Unstar a gist.'$'\n''/notifications/threads/:id/subscription'$'\t''Delete a Threa...
;;
*)
# subcmds
case ${MYWORDS[1]} in
/gists/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
examples/bash/githubcl.bash view on Meta::CPAN
*)
__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
examples/bash/githubcl.bash view on Meta::CPAN
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
;;
--q-participating)
;;
--q-since)
;;
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
;;
/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
examples/bash/githubcl.bash view on Meta::CPAN
esac
;;
PATCH)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
1)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/gists/:id'$'\t''Edit a gist.'$'\n''/gists/:id/comments/:commentId'$'\t''Edit a comment.'$'\n''/notifications/threads/:id'$'\t''Mark a thread as read'$'\n''/orgs/:org'$'\t''Edit an Organization.'$'\n''/...
;;
*)
# subcmds
case ${MYWORDS[1]} in
/gists/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
examples/bash/githubcl.bash view on Meta::CPAN
*)
__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
examples/bash/githubcl.bash view on Meta::CPAN
esac
;;
PUT)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
1)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/gists/:id/star'$'\t''Star a gist.'$'\n''/notifications'$'\t''Mark as read.'$'\n''/notifications/threads/:id/subscription'$'\t''Set a Thread Subscription.'$'\n''/orgs/:org/public_members/:username'$'\t'...
;;
*)
# subcmds
case ${MYWORDS[1]} in
/gists/:id/star)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
examples/bash/githubcl.bash view on Meta::CPAN
esac
;;
esac
;;
/notifications)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/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
examples/bash/githubcl.bash view on Meta::CPAN
# subcmds
case ${MYWORDS[1]} in
DELETE)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/gists/:id'$'\n''/gists/:id/comments/:commentId'$'\n''/gists/:id/star'$'\n''/notifications/threads/:id/subscription'$'\n''/orgs/:org/members/:username'$'\n''/orgs/:org/public_members/:username'$'\n'...
;;
*)
# subcmds
case ${MYWORDS[2]} in
/gists/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/bash/githubcl.bash view on Meta::CPAN
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/gists/:id/star)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/notifications/threads/:id/subscription)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/orgs/:org/members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/bash/githubcl.bash view on Meta::CPAN
esac
;;
GET)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/emojis'$'\n''/events'$'\n''/feeds'$'\n''/gists'$'\n''/gists/:id'$'\n''/gists/:id/comments'$'\n''/gists/:id/comments/:commentId'$'\n''/gists/:id/star'$'\n''/gists/public'$'\n''/gists/starred'$'\n''/...
;;
*)
# subcmds
case ${MYWORDS[2]} 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
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/notifications)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/notifications/threads/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/notifications/threads/:id/subscription)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/orgs/:org)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/bash/githubcl.bash view on Meta::CPAN
esac
;;
PATCH)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/gists/:id'$'\n''/gists/:id/comments/:commentId'$'\n''/notifications/threads/:id'$'\n''/orgs/:org'$'\n''/repos/:owner/:repo'$'\n''/repos/:owner/:repo/comments/:commentId'$'\n''/repos/:owner/:repo/gi...
;;
*)
# subcmds
case ${MYWORDS[2]} in
/gists/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/gists/:id/comments/:commentId)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/notifications/threads/:id)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/orgs/:org)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/bash/githubcl.bash view on Meta::CPAN
esac
;;
PUT)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
case $INDEX in
2)
__comp_current_options || return
__githubcl_dynamic_comp 'commands' '/gists/:id/star'$'\n''/notifications'$'\n''/notifications/threads/:id/subscription'$'\n''/orgs/:org/public_members/:username'$'\n''/repos/:owner/:repo/collaborators/:user'$'\n''/repos/:owner/:repo/c...
;;
*)
# subcmds
case ${MYWORDS[2]} in
/gists/:id/star)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/notifications)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/notifications/threads/:id/subscription)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
;;
/orgs/:org/public_members/:username)
FLAGS+=()
OPTIONS+=()
__githubcl_handle_options_flags
__comp_current_options true || return # no subcmds, no params/opts
examples/githubcl-appspec.yaml view on Meta::CPAN
putSubscription:
properties:
created_at:
type: string
ignored:
type: boolean
reason:
type: object
subscribed:
type: boolean
thread_url:
type: string
url:
type: string
type: object
rate_limit:
properties:
rate:
properties:
limit:
type: integer
examples/githubcl-appspec.yaml view on Meta::CPAN
subscription:
properties:
created_at:
type: string
ignored:
type: boolean
reason:
type: boolean
subscribed:
type: boolean
thread_url:
type: string
url:
type: string
type: object
tag:
properties:
message:
type: string
object:
properties:
examples/githubcl-appspec.yaml view on Meta::CPAN
required: true
schema:
$ref: '#/definitions/notificationMarkRead'
responses:
'205':
description: Marked as read.
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/notifications/threads/{id}:
get:
description: View a single thread.
parameters:
- description: Id of thread.
in: path
name: id
required: true
type: integer
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
examples/githubcl-appspec.yaml view on Meta::CPAN
responses:
'200':
description: OK
schema:
$ref: '#/definitions/notifications'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
patch:
description: Mark a thread as read
parameters:
- description: Id of thread.
in: path
name: id
required: true
type: integer
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
examples/githubcl-appspec.yaml view on Meta::CPAN
- in: header
name: X-GitHub-Request-Id
type: integer
responses:
'205':
description: Thread marked as read.
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
/notifications/threads/{id}/subscription:
delete:
description: Delete a Thread Subscription.
parameters:
- description: Id of thread.
in: path
name: id
required: true
type: integer
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
examples/githubcl-appspec.yaml view on Meta::CPAN
responses:
'204':
description: "No Content\n"
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
get:
description: Get a Thread Subscription.
parameters:
- description: Id of thread.
in: path
name: id
required: true
type: integer
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
examples/githubcl-appspec.yaml view on Meta::CPAN
description: OK
schema:
$ref: '#/definitions/subscription'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
put:
description: |
Set a Thread Subscription.
This lets you subscribe to a thread, or ignore it. Subscribing to a thread
is unnecessary if the user is already subscribed to the repository. Ignoring
a thread will mute all future notifications (until you comment or get @mentioned).
parameters:
- description: Id of thread.
in: path
name: id
required: true
type: integer
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
examples/githubcl-appspec.yaml view on Meta::CPAN
type: integer
summary: Delete a comment.
/gists/:id/star:
options: []
parameters:
- name: id
required: 1
summary: Id of gist.
type: integer
summary: Unstar a gist.
/notifications/threads/:id/subscription:
options: []
parameters:
- name: id
required: 1
summary: Id of thread.
type: integer
summary: Delete a Thread Subscription.
/orgs/:org/members/:username:
options: []
parameters:
- name: org
required: 1
summary: Name of organisation.
type: string
- name: username
examples/githubcl-appspec.yaml view on Meta::CPAN
or mentioned.
type: boolean
- name: q-since
required: ~
summary: |
The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Example: "2012-10-09T23:39:01Z".
type: string
parameters: []
summary: List your notifications.
/notifications/threads/:id:
options: []
parameters:
- name: id
required: 1
summary: Id of thread.
type: integer
summary: View a single thread.
/notifications/threads/:id/subscription:
options: []
parameters:
- name: id
required: 1
summary: Id of thread.
type: integer
summary: Get a Thread Subscription.
/orgs/:org:
options: []
parameters:
- name: org
required: 1
summary: Name of organisation.
type: string
summary: Get an Organization.
examples/githubcl-appspec.yaml view on Meta::CPAN
parameters:
- name: id
required: 1
summary: Id of gist.
type: integer
- name: commentId
required: 1
summary: Id of comment.
type: integer
summary: Edit a comment.
/notifications/threads/:id:
options: []
parameters:
- name: id
required: 1
summary: Id of thread.
type: integer
summary: Mark a thread as read
/orgs/:org:
options: []
parameters:
- name: org
required: 1
summary: Name of organisation.
type: string
summary: Edit an Organization.
/repos/:owner/:repo:
options: []
examples/githubcl-appspec.yaml view on Meta::CPAN
parameters:
- name: id
required: 1
summary: Id of gist.
type: integer
summary: Star a gist.
/notifications:
options: []
parameters: []
summary: Mark as read.
/notifications/threads/:id/subscription:
options: []
parameters:
- name: id
required: 1
summary: Id of thread.
type: integer
summary: Set a Thread Subscription.
/orgs/:org/public_members/:username:
options: []
parameters:
- name: org
required: 1
summary: Name of organisation.
type: string
- name: username
examples/githubcl-openapi.yaml view on Meta::CPAN
required: true
schema:
$ref: '#/definitions/notificationMarkRead'
responses:
'205':
description: Marked as read.
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/notifications/threads/{id}':
get:
description: View a single thread.
parameters:
- description: Id of thread.
in: path
name: id
required: true
type: integer
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
examples/githubcl-openapi.yaml view on Meta::CPAN
responses:
'200':
description: OK
schema:
$ref: '#/definitions/notifications'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
patch:
description: Mark a thread as read
parameters:
- description: Id of thread.
in: path
name: id
required: true
type: integer
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
examples/githubcl-openapi.yaml view on Meta::CPAN
- in: header
name: X-GitHub-Request-Id
type: integer
responses:
'205':
description: Thread marked as read.
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
'/notifications/threads/{id}/subscription':
delete:
description: Delete a Thread Subscription.
parameters:
- description: Id of thread.
in: path
name: id
required: true
type: integer
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
examples/githubcl-openapi.yaml view on Meta::CPAN
'204':
description: |
No Content
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
get:
description: Get a Thread Subscription.
parameters:
- description: Id of thread.
in: path
name: id
required: true
type: integer
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
examples/githubcl-openapi.yaml view on Meta::CPAN
description: OK
schema:
$ref: '#/definitions/subscription'
'403':
description: |
API rate limit exceeded. See http://developer.github.com/v3/#rate-limiting
for details.
put:
description: |
Set a Thread Subscription.
This lets you subscribe to a thread, or ignore it. Subscribing to a thread
is unnecessary if the user is already subscribed to the repository. Ignoring
a thread will mute all future notifications (until you comment or get @mentioned).
parameters:
- description: Id of thread.
in: path
name: id
required: true
type: integer
- description: |
You can check the current version of media type in responses.
in: header
name: X-GitHub-Media-Type
type: string
- description: Is used to set specified media type.
examples/githubcl-openapi.yaml view on Meta::CPAN
putSubscription:
properties:
created_at:
type: string
ignored:
type: boolean
reason:
type: object
subscribed:
type: boolean
thread_url:
type: string
url:
type: string
type: object
rate_limit:
properties:
rate:
properties:
limit:
type: integer
examples/githubcl-openapi.yaml view on Meta::CPAN
subscription:
properties:
created_at:
type: string
ignored:
type: boolean
reason:
type: boolean
subscribed:
type: boolean
thread_url:
type: string
url:
type: string
type: object
tag:
properties:
message:
type: string
object:
properties:
examples/html/githubcl.html view on Meta::CPAN
<li><a href="#ABSTRACT">ABSTRACT</a></li>
<li><a href="#DESCRIPTION">DESCRIPTION</a>
<ul>
<li><a href="#GLOBAL-OPTIONS">GLOBAL OPTIONS</a></li>
<li><a href="#SUBCOMMANDS">SUBCOMMANDS</a>
<ul>
<li><a href="#DELETE">DELETE</a></li>
<li><a href="#DELETE-gists-:id">DELETE /gists/:id</a></li>
<li><a href="#DELETE-gists-:id-comments-:commentId">DELETE /gists/:id/comments/:commentId</a></li>
<li><a href="#DELETE-gists-:id-star">DELETE /gists/:id/star</a></li>
<li><a href="#DELETE-notifications-threads-:id-subscription">DELETE /notifications/threads/:id/subscription</a></li>
<li><a href="#DELETE-orgs-:org-members-:username">DELETE /orgs/:org/members/:username</a></li>
<li><a href="#DELETE-orgs-:org-public_members-:username">DELETE /orgs/:org/public_members/:username</a></li>
<li><a href="#DELETE-repos-:owner-:repo">DELETE /repos/:owner/:repo</a></li>
<li><a href="#DELETE-repos-:owner-:repo-collaborators-:user">DELETE /repos/:owner/:repo/collaborators/:user</a></li>
<li><a href="#DELETE-repos-:owner-:repo-comments-:commentId">DELETE /repos/:owner/:repo/comments/:commentId</a></li>
<li><a href="#DELETE-repos-:owner-:repo-contents-:path">DELETE /repos/:owner/:repo/contents/:path</a></li>
<li><a href="#DELETE-repos-:owner-:repo-downloads-:downloadId">DELETE /repos/:owner/:repo/downloads/:downloadId</a></li>
<li><a href="#DELETE-repos-:owner-:repo-git-refs-:ref">DELETE /repos/:owner/:repo/git/refs/:ref</a></li>
<li><a href="#DELETE-repos-:owner-:repo-hooks-:hookId">DELETE /repos/:owner/:repo/hooks/:hookId</a></li>
<li><a href="#DELETE-repos-:owner-:repo-issues-:number-labels">DELETE /repos/:owner/:repo/issues/:number/labels</a></li>
examples/html/githubcl.html view on Meta::CPAN
<li><a href="#GET-gitignore-templates">GET /gitignore/templates</a></li>
<li><a href="#GET-gitignore-templates-:language">GET /gitignore/templates/:language</a></li>
<li><a href="#GET-issues">GET /issues</a></li>
<li><a href="#GET-legacy-issues-search-:owner-:repository-:state-:keyword">GET /legacy/issues/search/:owner/:repository/:state/:keyword</a></li>
<li><a href="#GET-legacy-repos-search-:keyword">GET /legacy/repos/search/:keyword</a></li>
<li><a href="#GET-legacy-user-email-:email">GET /legacy/user/email/:email</a></li>
<li><a href="#GET-legacy-user-search-:keyword">GET /legacy/user/search/:keyword</a></li>
<li><a href="#GET-meta">GET /meta</a></li>
<li><a href="#GET-networks-:owner-:repo-events">GET /networks/:owner/:repo/events</a></li>
<li><a href="#GET-notifications">GET /notifications</a></li>
<li><a href="#GET-notifications-threads-:id">GET /notifications/threads/:id</a></li>
<li><a href="#GET-notifications-threads-:id-subscription">GET /notifications/threads/:id/subscription</a></li>
<li><a href="#GET-orgs-:org">GET /orgs/:org</a></li>
<li><a href="#GET-orgs-:org-events">GET /orgs/:org/events</a></li>
<li><a href="#GET-orgs-:org-issues">GET /orgs/:org/issues</a></li>
<li><a href="#GET-orgs-:org-members">GET /orgs/:org/members</a></li>
<li><a href="#GET-orgs-:org-members-:username">GET /orgs/:org/members/:username</a></li>
<li><a href="#GET-orgs-:org-public_members">GET /orgs/:org/public_members</a></li>
<li><a href="#GET-orgs-:org-public_members-:username">GET /orgs/:org/public_members/:username</a></li>
<li><a href="#GET-orgs-:org-repos">GET /orgs/:org/repos</a></li>
<li><a href="#GET-orgs-:org-teams">GET /orgs/:org/teams</a></li>
<li><a href="#GET-rate_limit">GET /rate_limit</a></li>
examples/html/githubcl.html view on Meta::CPAN
<li><a href="#GET-users-:username-keys">GET /users/:username/keys</a></li>
<li><a href="#GET-users-:username-orgs">GET /users/:username/orgs</a></li>
<li><a href="#GET-users-:username-received_events">GET /users/:username/received_events</a></li>
<li><a href="#GET-users-:username-received_events-public">GET /users/:username/received_events/public</a></li>
<li><a href="#GET-users-:username-repos">GET /users/:username/repos</a></li>
<li><a href="#GET-users-:username-starred">GET /users/:username/starred</a></li>
<li><a href="#GET-users-:username-subscriptions">GET /users/:username/subscriptions</a></li>
<li><a href="#PATCH">PATCH</a></li>
<li><a href="#PATCH-gists-:id">PATCH /gists/:id</a></li>
<li><a href="#PATCH-gists-:id-comments-:commentId">PATCH /gists/:id/comments/:commentId</a></li>
<li><a href="#PATCH-notifications-threads-:id">PATCH /notifications/threads/:id</a></li>
<li><a href="#PATCH-orgs-:org">PATCH /orgs/:org</a></li>
<li><a href="#PATCH-repos-:owner-:repo">PATCH /repos/:owner/:repo</a></li>
<li><a href="#PATCH-repos-:owner-:repo-comments-:commentId">PATCH /repos/:owner/:repo/comments/:commentId</a></li>
<li><a href="#PATCH-repos-:owner-:repo-git-refs-:ref">PATCH /repos/:owner/:repo/git/refs/:ref</a></li>
<li><a href="#PATCH-repos-:owner-:repo-hooks-:hookId">PATCH /repos/:owner/:repo/hooks/:hookId</a></li>
<li><a href="#PATCH-repos-:owner-:repo-issues-:number">PATCH /repos/:owner/:repo/issues/:number</a></li>
<li><a href="#PATCH-repos-:owner-:repo-issues-comments-:commentId">PATCH /repos/:owner/:repo/issues/comments/:commentId</a></li>
<li><a href="#PATCH-repos-:owner-:repo-labels-:name">PATCH /repos/:owner/:repo/labels/:name</a></li>
<li><a href="#PATCH-repos-:owner-:repo-milestones-:number">PATCH /repos/:owner/:repo/milestones/:number</a></li>
<li><a href="#PATCH-repos-:owner-:repo-pulls-:number">PATCH /repos/:owner/:repo/pulls/:number</a></li>
examples/html/githubcl.html view on Meta::CPAN
<li><a href="#POST-repos-:owner-:repo-pulls">POST /repos/:owner/:repo/pulls</a></li>
<li><a href="#POST-repos-:owner-:repo-pulls-:number-comments">POST /repos/:owner/:repo/pulls/:number/comments</a></li>
<li><a href="#POST-repos-:owner-:repo-releases">POST /repos/:owner/:repo/releases</a></li>
<li><a href="#POST-repos-:owner-:repo-statuses-:ref">POST /repos/:owner/:repo/statuses/:ref</a></li>
<li><a href="#POST-user-emails">POST /user/emails</a></li>
<li><a href="#POST-user-keys">POST /user/keys</a></li>
<li><a href="#POST-user-repos">POST /user/repos</a></li>
<li><a href="#PUT">PUT</a></li>
<li><a href="#PUT-gists-:id-star">PUT /gists/:id/star</a></li>
<li><a href="#PUT-notifications">PUT /notifications</a></li>
<li><a href="#PUT-notifications-threads-:id-subscription">PUT /notifications/threads/:id/subscription</a></li>
<li><a href="#PUT-orgs-:org-public_members-:username">PUT /orgs/:org/public_members/:username</a></li>
<li><a href="#PUT-repos-:owner-:repo-collaborators-:user">PUT /repos/:owner/:repo/collaborators/:user</a></li>
<li><a href="#PUT-repos-:owner-:repo-contents-:path">PUT /repos/:owner/:repo/contents/:path</a></li>
<li><a href="#PUT-repos-:owner-:repo-issues-:number-labels">PUT /repos/:owner/:repo/issues/:number/labels</a></li>
<li><a href="#PUT-repos-:owner-:repo-notifications">PUT /repos/:owner/:repo/notifications</a></li>
<li><a href="#PUT-repos-:owner-:repo-pulls-:number-merge">PUT /repos/:owner/:repo/pulls/:number/merge</a></li>
<li><a href="#PUT-repos-:owner-:repo-subscription">PUT /repos/:owner/:repo/subscription</a></li>
<li><a href="#PUT-teams-:teamId-members-:username">PUT /teams/:teamId/members/:username</a></li>
<li><a href="#PUT-teams-:teamId-memberships-:username">PUT /teams/:teamId/memberships/:username</a></li>
<li><a href="#PUT-teams-:teamId-repos-:org-:repo">PUT /teams/:teamId/repos/:org/:repo</a></li>
examples/html/githubcl.html view on Meta::CPAN
<h3 id="DELETE-gists-:id-star">DELETE /gists/:id/star</h3>
<pre><code> githubcl DELETE /gists/:id/star <id></code></pre>
<p>Unstar a gist.</p>
<p>Parameters:</p>
<pre><code> id * Id of gist.</code></pre>
<h3 id="DELETE-notifications-threads-:id-subscription">DELETE /notifications/threads/:id/subscription</h3>
<pre><code> githubcl DELETE /notifications/threads/:id/subscription <id></code></pre>
<p>Delete a Thread Subscription.</p>
<p>Parameters:</p>
<pre><code> id * Id of thread.</code></pre>
<h3 id="DELETE-orgs-:org-members-:username">DELETE /orgs/:org/members/:username</h3>
<pre><code> githubcl DELETE /orgs/:org/members/:username <org> <username></code></pre>
<p>Remove a member.</p>
<p>Parameters:</p>
<pre><code> org * Name of organisation.
examples/html/githubcl.html view on Meta::CPAN
<p>List your notifications.</p>
<p>Options:</p>
<pre><code> --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". </code></pre>
<h3 id="GET-notifications-threads-:id">GET /notifications/threads/:id</h3>
<pre><code> githubcl GET /notifications/threads/:id <id></code></pre>
<p>View a single thread.</p>
<p>Parameters:</p>
<pre><code> id * Id of thread.</code></pre>
<h3 id="GET-notifications-threads-:id-subscription">GET /notifications/threads/:id/subscription</h3>
<pre><code> githubcl GET /notifications/threads/:id/subscription <id></code></pre>
<p>Get a Thread Subscription.</p>
<p>Parameters:</p>
<pre><code> id * Id of thread.</code></pre>
<h3 id="GET-orgs-:org">GET /orgs/:org</h3>
<pre><code> githubcl GET /orgs/:org <org></code></pre>
<p>Get an Organization.</p>
<p>Parameters:</p>
<pre><code> org * Name of organisation.</code></pre>
examples/html/githubcl.html view on Meta::CPAN
<pre><code> githubcl PATCH /gists/:id/comments/:commentId <id> <commentId></code></pre>
<p>Edit a comment.</p>
<p>Parameters:</p>
<pre><code> id * Id of gist.
commentId * Id of comment.</code></pre>
<h3 id="PATCH-notifications-threads-:id">PATCH /notifications/threads/:id</h3>
<pre><code> githubcl PATCH /notifications/threads/:id <id></code></pre>
<p>Mark a thread as read</p>
<p>Parameters:</p>
<pre><code> id * Id of thread.</code></pre>
<h3 id="PATCH-orgs-:org">PATCH /orgs/:org</h3>
<pre><code> githubcl PATCH /orgs/:org <org></code></pre>
<p>Edit an Organization.</p>
<p>Parameters:</p>
<pre><code> org * Name of organisation.</code></pre>
examples/html/githubcl.html view on Meta::CPAN
<p>Parameters:</p>
<pre><code> id * Id of gist.</code></pre>
<h3 id="PUT-notifications">PUT /notifications</h3>
<pre><code> githubcl PUT /notifications</code></pre>
<p>Mark as read.</p>
<h3 id="PUT-notifications-threads-:id-subscription">PUT /notifications/threads/:id/subscription</h3>
<pre><code> githubcl PUT /notifications/threads/:id/subscription <id></code></pre>
<p>Set a Thread Subscription.</p>
<p>Parameters:</p>
<pre><code> id * Id of thread.</code></pre>
<h3 id="PUT-orgs-:org-public_members-:username">PUT /orgs/:org/public_members/:username</h3>
<pre><code> githubcl PUT /orgs/:org/public_members/:username <org> <username></code></pre>
<p>Publicize a user's membership.</p>
<p>Parameters:</p>
<pre><code> org * Name of organisation.
examples/pod/githubcl.pod view on Meta::CPAN
=head3 DELETE /gists/:id/star
githubcl DELETE /gists/:id/star <id>
Unstar a gist.
Parameters:
id * Id of gist.
=head3 DELETE /notifications/threads/:id/subscription
githubcl DELETE /notifications/threads/:id/subscription <id>
Delete a Thread Subscription.
Parameters:
id * Id of thread.
=head3 DELETE /orgs/:org/members/:username
githubcl DELETE /orgs/:org/members/:username <org> <username>
Remove a member.
Parameters:
org * Name of organisation.
examples/pod/githubcl.pod view on Meta::CPAN
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".
=head3 GET /notifications/threads/:id
githubcl GET /notifications/threads/:id <id>
View a single thread.
Parameters:
id * Id of thread.
=head3 GET /notifications/threads/:id/subscription
githubcl GET /notifications/threads/:id/subscription <id>
Get a Thread Subscription.
Parameters:
id * Id of thread.
=head3 GET /orgs/:org
githubcl GET /orgs/:org <org>
Get an Organization.
Parameters:
org * Name of organisation.
examples/pod/githubcl.pod view on Meta::CPAN
githubcl PATCH /gists/:id/comments/:commentId <id> <commentId>
Edit a comment.
Parameters:
id * Id of gist.
commentId * Id of comment.
=head3 PATCH /notifications/threads/:id
githubcl PATCH /notifications/threads/:id <id>
Mark a thread as read
Parameters:
id * Id of thread.
=head3 PATCH /orgs/:org
githubcl PATCH /orgs/:org <org>
Edit an Organization.
Parameters:
org * Name of organisation.
examples/pod/githubcl.pod view on Meta::CPAN
id * Id of gist.
=head3 PUT /notifications
githubcl PUT /notifications
Mark as read.
=head3 PUT /notifications/threads/:id/subscription
githubcl PUT /notifications/threads/:id/subscription <id>
Set a Thread Subscription.
Parameters:
id * Id of thread.
=head3 PUT /orgs/:org/public_members/:username
githubcl PUT /orgs/:org/public_members/:username <org> <username>
Publicize a user's membership.
Parameters:
org * Name of organisation.
examples/zsh/_githubcl view on Meta::CPAN
# ---- Command: DELETE
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'*: :->args' \
&& ret=0
case $state in
cmd2)
_alternative 'args:cmd3:((/gists/\\:id\:"Delete a gist." /gists/\\:id/comments/\\:commentId\:"Delete a comment." /gists/\\:id/star\:"Unstar a gist." /notifications/threads/\\:id/subscription\:"Delete a Thread Subscription." /orgs/...
;;
args)
case $line[2] in
/gists/:id)
# ---- Command: DELETE /gists/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
'-h[Show command help]' \
&& ret=0
case $state in
id)
;;
esac
;;
/notifications/threads/:id/subscription)
# ---- Command: DELETE /notifications/threads/:id/subscription
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->id' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
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' \
examples/zsh/_githubcl view on Meta::CPAN
'--q-participating[True to show only notifications in which the user is directly participating
or mentioned.
]:q-participating' \
'--q-since[The time should be passed in as UTC in the ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.
Example: "2012-10-09T23:39:01Z".
]:q-since' \
&& ret=0
;;
/notifications/threads/:id)
# ---- Command: GET /notifications/threads/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->id' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
'-h[Show command help]' \
&& ret=0
case $state in
id)
;;
esac
;;
/notifications/threads/:id/subscription)
# ---- Command: GET /notifications/threads/:id/subscription
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->id' \
'--data-file[File with data for POST/PUT/PATCH/DELETE requests]:data-file:_files' \
'--debug[debug]' \
'-d[debug]' \
'--verbose[verbose]' \
'-v[verbose]' \
'--help[Show command help]' \
examples/zsh/_githubcl view on Meta::CPAN
# ---- Command: PATCH
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'*: :->args' \
&& ret=0
case $state in
cmd2)
_alternative 'args:cmd3:((/gists/\\:id\:"Edit a gist." /gists/\\:id/comments/\\:commentId\:"Edit a comment." /notifications/threads/\\:id\:"Mark a thread as read" /orgs/\\:org\:"Edit an Organization." /repos/\\:owner/\\:repo\:"Edi...
;;
args)
case $line[2] in
/gists/:id)
# ---- Command: PATCH /gists/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
case $state in
id)
;;
commentId)
;;
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]' \
examples/zsh/_githubcl view on Meta::CPAN
# ---- Command: PUT
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'*: :->args' \
&& ret=0
case $state in
cmd2)
_alternative 'args:cmd3:((/gists/\\:id/star\:"Star a gist." /notifications\:"Mark as read." /notifications/threads/\\:id/subscription\:"Set a Thread Subscription." /orgs/\\:org/public_members/\\:username\:"Publicize a user'"'"'s m...
;;
args)
case $line[2] in
/gists/:id/star)
# ---- Command: PUT /gists/:id/star
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
'--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]' \
examples/zsh/_githubcl view on Meta::CPAN
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'*: :->args' \
&& ret=0
case $state in
cmd3)
_alternative 'args:cmd4:((/gists/\\:id /gists/\\:id/comments/\\:commentId /gists/\\:id/star /notifications/threads/\\:id/subscription /orgs/\\:org/members/\\:username /orgs/\\:org/public_members/\\:username /repos/\\:owner...
;;
args)
case $line[3] in
/gists/:id)
# ---- Command: help DELETE /gists/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
'-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]' \
examples/zsh/_githubcl view on Meta::CPAN
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'*: :->args' \
&& ret=0
case $state in
cmd3)
_alternative 'args:cmd4:((/emojis /events /feeds /gists /gists/\\:id /gists/\\:id/comments /gists/\\:id/comments/\\:commentId /gists/\\:id/star /gists/public /gists/starred /gitignore/templates /gitignore/templates/\\:lang...
;;
args)
case $line[3] in
/emojis)
# ---- Command: help GET /emojis
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
'-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]' \
examples/zsh/_githubcl view on Meta::CPAN
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'*: :->args' \
&& ret=0
case $state in
cmd3)
_alternative 'args:cmd4:((/gists/\\:id /gists/\\:id/comments/\\:commentId /notifications/threads/\\:id /orgs/\\:org /repos/\\:owner/\\:repo /repos/\\:owner/\\:repo/comments/\\:commentId /repos/\\:owner/\\:repo/git/refs/\\:...
;;
args)
case $line[3] in
/gists/:id)
# ---- Command: help PATCH /gists/:id
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
'-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]' \
examples/zsh/_githubcl view on Meta::CPAN
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
'3: :->cmd3' \
'*: :->args' \
&& ret=0
case $state in
cmd3)
_alternative 'args:cmd4:((/gists/\\:id/star /notifications /notifications/threads/\\:id/subscription /orgs/\\:org/public_members/\\:username /repos/\\:owner/\\:repo/collaborators/\\:user /repos/\\:owner/\\:repo/contents/\\...
;;
args)
case $line[3] in
/gists/:id/star)
# ---- Command: help PUT /gists/:id/star
_arguments -s -C \
'1: :->cmd1' \
'2: :->cmd2' \
examples/zsh/_githubcl view on Meta::CPAN
'-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]' \