Skip to content

gh pr close with comment? #1038

@jetersen

Description

@jetersen

Describe the feature or problem you’d like to solve

Closing a PR without a comment seems rude 😅

Now that I think about it: gh pr comment would also be useful.

--comment "my comment" may make sense for simple one liners.
--comment and than open my code editor of choice would also be useful.

Proposed solution

gh pr close {<number> | <url> | <branch>} --comment "superseded by #123"

Additional context

N/A

Metadata

Metadata

Assignees

Labels

coreThis issue is not accepting PRs from outside contributorsenhancementa request to improve CLI

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions