cli: Add issue id to show_issue function

Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
This commit is contained in:
Sebastian Martinez
2023-06-06 11:11:20 +02:00
parent d2202a07ab
commit 6578fedfbb
4 changed files with 16 additions and 5 deletions
+2
View File
@@ -7,6 +7,7 @@ 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 │
│ Issue 2e8c1bf3fe0532a314778357c886608a966a34bd │
│ Status open │
│ │
│ Flux capacitor power requirements exceed current supply │
@@ -30,6 +31,7 @@ Show the issue information issue.
$ rad issue show 2e8c1bf
╭─────────────────────────────────────────────────────────╮
│ Title flux capacitor underpowered │
│ Issue 2e8c1bf3fe0532a314778357c886608a966a34bd │
│ Status open │
│ │
│ Flux capacitor power requirements exceed current supply │
+2
View File
@@ -11,6 +11,7 @@ We can now show the issue to check whether those tags were added:
$ rad issue show 2e8c1bf3fe0532a314778357c886608a966a34bd
╭─────────────────────────────────────────────────────────╮
│ Title flux capacitor underpowered │
│ Issue 2e8c1bf3fe0532a314778357c886608a966a34bd │
│ Tags bug, good-first-issue │
│ Status open │
│ │
@@ -30,6 +31,7 @@ Notice that the `good-first-issue` tag has disappeared:
$ rad issue show 2e8c1bf3fe0532a314778357c886608a966a34bd
╭─────────────────────────────────────────────────────────╮
│ Title flux capacitor underpowered │
│ Issue 2e8c1bf3fe0532a314778357c886608a966a34bd │
│ Tags bug │
│ Status open │
│ │
@@ -7,6 +7,7 @@ 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 │
│ Issue b05e945bb63c11bf80320f4e26ad1d1f7c51f755 │
│ Status open │
│ │
│ Flux capacitor power requirements exceed current supply │
@@ -52,6 +53,7 @@ In addition, you can see that when you run `rad issue show` you are listed under
$ rad issue show b05e945
╭─────────────────────────────────────────────────────────╮
│ Title flux capacitor underpowered │
│ Issue b05e945bb63c11bf80320f4e26ad1d1f7c51f755 │
│ Assignees z6Mkt67…v4N1tRk │
│ Status open │
│ │