mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-21 18:40:39 +08:00
When `rad issue show` is run, the issue comments are shown by default. This can be tweaked using the `--format` option. A value of "header" only shows the header, while the default which is "full", shows the header and comments.
2.1 KiB
2.1 KiB
Labeling an issue is easy, let's add the bug and good-first-issue labels to
some issue:
$ rad label 42028af21fabc09bfac2f25490f119f7c7e11542 bug good-first-issue
We can now show the issue to check whether those labels were added:
$ rad issue show 42028af21fabc09bfac2f25490f119f7c7e11542 --format header
╭─────────────────────────────────────────────────────────╮
│ Title flux capacitor underpowered │
│ Issue 42028af21fabc09bfac2f25490f119f7c7e11542 │
│ Author z6MknSL…StBU8Vi (you) │
│ Labels bug, good-first-issue │
│ Status open │
│ │
│ Flux capacitor power requirements exceed current supply │
╰─────────────────────────────────────────────────────────╯
Untagging an issue is very similar:
$ rad unlabel 42028af21fabc09bfac2f25490f119f7c7e11542 good-first-issue
Notice that the good-first-issue label has disappeared:
$ rad issue show 42028af21fabc09bfac2f25490f119f7c7e11542 --format header
╭─────────────────────────────────────────────────────────╮
│ Title flux capacitor underpowered │
│ Issue 42028af21fabc09bfac2f25490f119f7c7e11542 │
│ Author z6MknSL…StBU8Vi (you) │
│ Labels bug │
│ Status open │
│ │
│ Flux capacitor power requirements exceed current supply │
╰─────────────────────────────────────────────────────────╯