Skip to content

feat: add pr close --comment and --delete-branch flags #112

@q-soriarty

Description

@q-soriarty

Problem

`gh pr close` supports `--comment` and `--delete-branch` flags. `copia-cli pr close` has neither.

gh reference

```
gh pr close 7 --comment "Closing in favor of #8" --delete-branch
```

Scope

  • `--comment string` — leave a closing comment (like `issue close --comment`)
  • `--delete-branch` — delete local and remote branch after close

Discovered by

gh CLI behavior comparison test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions