[Feature request] add `each` mode to batch edit PRs in a stack
- Langage dominant
- Go
- Étoiles
- 1.5k
- Forks
- 70
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 7
Description
If I want to request the review of each PR to a list of collaborators, I need to loop `gh stack up && gh pr edit --add-reviewer ...` for each PR in the stack, while with:
```sh
$ gh stack each edit --add-reviewer ....
```
the `edit --add-reviewer` command could be applied to each PR of the stack automatically with a single request.
If we would like to limit the `each` scope only to the `pr edit` action, then we could simplify it as:
```sh
$ gh stack each --add-reviewer ....
```
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Start by tracing the existing `gh stack up` and `gh pr edit` entry points and how a stack's PR list is obtained. Compare the two proposed command forms, then define completion as applying the requested edit to every PR in the stack with one invocation, including coverage for the chosen interface.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- github, go
- Domaine
- cli
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100