radicle-heartwood-lfs/radicle-cli
Fintan Halpenny 864ca656c0
cli: add Unknown variant for NotificationKind
When the `rad inbox` command would come across a reference name that
it did not recognise as a `Cob` or `Branch`, then it would fail with
an `Unknown` error.

Instead, add an `Unknown` variant to `NotificationKind` which can be
displayed in the `inbox` CLI, by using the `--show-unknown`
flag. Otherwise, it will be skipped and the inbox will work as usual.

While refactoring, the `TypedId` type is used for the `Cob` variant to
simplify some of its uses.

Signed-off-by: Fintan Halpenny <fintan.halpenny@gmail.com>
X-Clacks-Overhead: GNU Terry Pratchett
2024-03-11 12:57:53 +01:00
..
examples cli: show revision on rad patch checkout 2024-03-11 11:56:11 +01:00
src cli: add Unknown variant for NotificationKind 2024-03-11 12:57:53 +01:00
tests fetch: allow fetch of annotated tags 2024-03-11 11:13:26 +01:00
Cargo.toml Bump `radicle-surf` to 0.19.0 2024-03-11 12:27:27 +01:00