cli: Improve rad issue show output

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
This commit is contained in:
Vincenzo Palazzo
2023-04-27 11:48:11 +02:00
committed by Alexis Sellier
parent 83547f9c8a
commit 730eaa00ca
5 changed files with 108 additions and 37 deletions
+19 -6
View File
@@ -5,12 +5,12 @@ Let's say the new car you are designing with your peers has a problem with its f
```
$ rad issue open --title "flux capacitor underpowered" --description "Flux capacitor power requirements exceed current supply" --no-announce
title: flux capacitor underpowered
state: open
tags: []
assignees: []
Flux capacitor power requirements exceed current supply
╭─────────────────────────────────────────────────────────╮
│ Title flux capacitor underpowered │
│ Status open │
│ │
│ Flux capacitor power requirements exceed current supply │
╰─────────────────────────────────────────────────────────╯
```
The issue is now listed under our project.
@@ -46,6 +46,19 @@ $ rad issue list --assigned
╰─────────────────────────────────────────────────────────────────────────────────────────────────────╯
```
In addition, you can see that when you run `rad issue show` you are listed under the `Assignees`.
```
$ rad issue show b05e945
╭─────────────────────────────────────────────────────────╮
│ Title flux capacitor underpowered │
│ Assignees z6Mkt67…v4N1tRk │
│ Status open │
│ │
│ Flux capacitor power requirements exceed current supply │
╰─────────────────────────────────────────────────────────╯
```
Note: this can always be undone with the `unassign` subcommand.
Great, now we have communicated to the world about our car's defect.