tea pr review $PR request --reviewer=... #571

Open
opened 2023-09-01 10:35:21 +00:00 by ds-cbo · 1 comment

I am missing some command to request a review from another user, similar to "Reviewers" in the web interface. Currently, you can only review it yourself through the CLI.

A bonus would be if you could also add --reviewer=... to the tea pr create command, immediately requesting someone else to review a newly created PR.

I am missing some command to request a review from another user, similar to "Reviewers" in the web interface. Currently, you can only review it yourself through the CLI. A bonus would be if you could also add `--reviewer=...` to the `tea pr create` command, immediately requesting someone else to review a newly created PR.
lunny added the
kind
feature
label 2023-09-04 03:54:40 +00:00

A bonus would be if you could also add --reviewer=... to the tea pr create command

I signed up here specifically to request this.

gh pr create has this feature and I've been using it there. So far I've created PRs with tea and then went to the website to add a reviewer which makes it less useful.

Here's the gh create pr example with -r/--reviewer. Multiple reviewers can be requested comma-delimited. It would be very nice to have this equivalent here in tea.

USAGE
  gh pr create [flags]

FLAGS
  -a, --assignee login       Assign people by their login. Use "@me" to self-assign.
  -B, --base branch          The branch into which you want your code merged
  -b, --body string          Body for the pull request
  -F, --body-file file       Read body text from file (use "-" to read from standard input)
  -d, --draft                Mark pull request as a draft
  -f, --fill                 Do not prompt for title/body and just use commit info
      --fill-first           Do not prompt for title/body and just use first commit info
  -H, --head branch          The branch that contains commits for your pull request (default: current branch)
  -l, --label name           Add labels by name
  -m, --milestone name       Add the pull request to a milestone by name
      --no-maintainer-edit   Disable maintainer's ability to modify pull request
  -p, --project name         Add the pull request to projects by name
      --recover string       Recover input from a failed run of create
  -r, --reviewer handle      Request reviews from people or teams by their handle
  -T, --template file        Template file to use as starting body text
  -t, --title string         Title for the pull request
  -w, --web                  Open the web browser to create a pull request
`A bonus would be if you could also add --reviewer=... to the tea pr create command` I signed up here specifically to request this. gh pr create has this feature and I've been using it there. So far I've created PRs with tea and then went to the website to add a reviewer which makes it less useful. Here's the `gh create pr` example with `-r/--reviewer`. Multiple reviewers can be requested comma-delimited. It would be very nice to have this equivalent here in `tea`. ``` USAGE gh pr create [flags] FLAGS -a, --assignee login Assign people by their login. Use "@me" to self-assign. -B, --base branch The branch into which you want your code merged -b, --body string Body for the pull request -F, --body-file file Read body text from file (use "-" to read from standard input) -d, --draft Mark pull request as a draft -f, --fill Do not prompt for title/body and just use commit info --fill-first Do not prompt for title/body and just use first commit info -H, --head branch The branch that contains commits for your pull request (default: current branch) -l, --label name Add labels by name -m, --milestone name Add the pull request to a milestone by name --no-maintainer-edit Disable maintainer's ability to modify pull request -p, --project name Add the pull request to projects by name --recover string Recover input from a failed run of create -r, --reviewer handle Request reviews from people or teams by their handle -T, --template file Template file to use as starting body text -t, --title string Title for the pull request -w, --web Open the web browser to create a pull request ```
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/tea#571
No description provided.