MCPcopy
hub / github.com/donnemartin/gitsome / pull_request

Method pull_request

gitsome/githubcli.py:513–528  ·  view source on GitHub ↗

Output detailed information about the given pull request. Usage: gh pull-request [user_repo_number] Example(s): gh pull-request donnemartin/saws/80 :type github: :class:`github.GitHub` :param github: An instance of `github.GitHub`.

(github, user_repo_number)

Source from the content-addressed store, hash-verified

511 @click.argument('user_repo_number')
512 @pass_github
513 def pull_request(github, user_repo_number):
514 """Output detailed information about the given pull request.
515
516 Usage:
517 gh pull-request [user_repo_number]
518
519 Example(s):
520 gh pull-request donnemartin/saws/80
521
522 :type github: :class:`github.GitHub`
523 :param github: An instance of `github.GitHub`.
524
525 :type user_repo_number: str
526 :param user_repo_number: The user/repo/pull_number.
527 """
528 github.issue(user_repo_number)
529
530 @cli.command('pull-requests')
531 @click.option('-l', '--limit', required=False, default=1000)

Callers 1

pull_requestsMethod · 0.45

Calls 1

issueMethod · 0.45

Tested by

no test coverage detected