-
Notifications
You must be signed in to change notification settings - Fork 7.8k
Closed
Description
What currently exists
Global flags:
-B, --current-branch string current git branch
-h, --help help for gh
-R, --repo string current GitHub repository
Flags for pr create
-T, --base string The branch into which you want your code merged
-b, --body string Supply a body. Will prompt for one otherwise.
-d, --draft Mark PR as a draft
-h, --help help for create
-t, --title string Supply a title. Will prompt for one otherwise.
Flags for issue create
-h, --help help for create
-m, --message stringArray set title and body
-w, --web open the web browser to create an issue
Flags for pr list
-b, --base string filter by base branch
-h, --help help for list
-l, --label stringArray filter by label
-L, --limit int maximum number of items to fetch (default 30)
-s, --state string filter by state (default "open")
Flags for issue list
-a, --assignee string filter by assignee
-h, --help help for list
-l, --label strings filter by label
-L, --limit int maximum number of issues to fetch (default 30)
-s, --state string filter by state (open|closed|all)
Proposed new flags
Global flags:
-h, --help Help for gh
-R, --repo string Select GitHub repository
-V, --version . Version for gh
Flags for pr create and issue create
-B, --base string The branch into which you want your code merged
-b, --body string Supply a body. Will prompt for one otherwise.
-d, --draft Mark PR as a draft
-h, --help Help for create
-t, --title string Supply a title. Will prompt for one otherwise.
-w, --web Create in web browser
Flags for pr list and issue list
-a, --assignee string Filter by assignee
-B, --base string Filter by base branch
-h, --help Help for list
-l, --label strings Filter by label
-L, --limit int Maximum number of items to fetch (default 30)
-s, --state string Filter by state (open|closed|all, default "open")
note: issue create and issue list won't include the --base flag
Flags for pr view and issue view
-t, --text Output title and body of [issue/pull request]
note: this is new functionality that we can open up a separate issue for
Metadata
Metadata
Assignees
Labels
No labels