radicle-heartwood-lfs/radicle-cli/examples
Vincenzo Palazzo ff52ea7223
cli: Show patch id when we run `rad patch list`
This commit includes a simplification in finding the
long patch id in order to perform operations like
`patch show <id>` and `patch checkou <id>`.

Actual output

```
➜  rio git:(main) rad patch list

- YOU PROPOSED -

patch text 8c94760699e R0 f1b2740 (macros/rad_patch) ahead 1, behind 0
└─ * opened by z6MkuvfwAkZ6yD6Z5TT6YXfJjFNPMQz9fPi9BSU7gwhS9s2x (you) 12 minutes ago
└─ * patch id 8c94760699e3e2da64aa9f14f4d2cecfe7b754ad

patch text 78e0fb5ad45 R0 f1b2740 (macros/rad_patch) ahead 1, behind 0
└─ * opened by z6MkuvfwAkZ6yD6Z5TT6YXfJjFNPMQz9fPi9BSU7gwhS9s2x (you) 24 minutes ago
└─ * patch id 78e0fb5ad45481d225a6fb45f51422e468b55c94

- OTHERS PROPOSED -

Nothing to show.

```

Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
2023-02-15 14:00:55 +01:00
..
rad-auth.md cli: Replace `trycmd` with our own test runner 2022-12-06 10:01:38 +01:00
rad-checkout-repo-config-linux.md cli: Fix a test failing on macos: rad_checkout 2023-02-10 15:01:06 +01:00
rad-checkout-repo-config-macos.md cli: Fix a test failing on macos: rad_checkout 2023-02-10 15:01:06 +01:00
rad-checkout.md cli: Fix a test failing on macos: rad_checkout 2023-02-10 15:01:06 +01:00
rad-clone-unknown.md cli: Test clone failure for unknown repo 2023-02-08 21:28:59 +01:00
rad-clone.md cli: Test rad-clone is deterministic 2023-02-09 16:49:52 +01:00
rad-delegate.md cli: add delegate cli 2022-12-27 12:25:24 +01:00
rad-id-rebase.md cli: add Identity::current to output 2023-02-13 18:02:23 +01:00
rad-id.md cli: add Identity::current to output 2023-02-13 18:02:23 +01:00
rad-init-sync.md node: Rely on inventory announcement in `rad init` 2023-02-13 09:59:44 +01:00
rad-init.md cli: Track projects we initialize 2023-02-12 16:48:46 +01:00
rad-issue.md httpd: Add `assignees` to `Issues::create` 2023-02-13 13:47:15 +01:00
rad-patch.md cli: Show patch id when we run `rad patch list` 2023-02-15 14:00:55 +01:00
rad-rm.md cli: Fix `rad rm` command 2023-02-10 12:56:11 +01:00