Add patch review documentation

This commit is contained in:
Erik Kundt
2024-11-29 12:07:50 +01:00
parent f45f317487
commit 35850c0276
+10
View File
@@ -115,6 +115,8 @@ Both commands will call into `rad-tui`, process its output and call `rad` accord
#### Interfaces
##### Selection
Select a patch, an issue or a notification and an operation:
```
@@ -133,6 +135,14 @@ Select a patch, an issue or a notification only and return its id:
rad-tui <patch | issue | inbox> select --mode id
```
##### Patch
Review a patch revision:
```
rad-tui patch review <id>
```
> **Note:** When the review is done, it needs to be finalized via `rad patch review [--accept | --reject] <id>`.
#### Output
All interfaces return a common JSON object on `stderr` that reflects the choices made by the user, e.g.: