radicle-heartwood-lfs/crates/radicle-cli/src/terminal
Lorenz Leutgeb bb97414a2d cli: Deduplicate RID Argument Handling
Multiple commands take an RID as a command line argument. However, the
handling, which usually involves falling back to detection of the
repository associated with the current directory, is duplicated many
times over.

Introduce `fn rid_or_cwd` which can be used by many commands.
2026-04-17 17:09:15 +01:00
..
patch cli/patch: Show Commit Ranges of Revisions 2026-04-02 14:08:44 +01:00
args.rs cli: Deduplicate RID Argument Handling 2026-04-17 17:09:15 +01:00
cob.rs radicle: Refactor COB Storage Access 2026-03-31 17:57:14 +01:00
comment.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
format.rs cli/terminal: Formatting Functions for Ranges 2026-04-02 14:08:44 +01:00
highlight.rs clippy: Deny and fix `must_use_candidate` 2026-01-16 22:52:53 +01:00
io.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
issue.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
json.rs repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
patch.rs rust/edition/fmt: 2021 → 2024 2026-03-30 16:57:51 +02:00
upload_pack.rs clippy: Deny and fix `must_use_candidate` 2026-01-16 22:52:53 +01:00