radicle-heartwood-lfs/crates
Fintan Halpenny 3c89525003 cli/sync: migrate to clap
Due to the idiosyncracies of this command there are a few things to note about
this migration.

The `rad sync` command acts as a default subcommand in itself, in that it has
options that do not apply to its subcommand, `rad sync status`. This means that
the options will print with `rad sync --help`, but they will not print with `rad
sync status`.

The `--inventory` flag is not compatible with any of the other flags and
options, thus they are all marked with `conflicts_with`. This cannot be done for
a positional argument, so `clap` will "helpfully" print out the usage, for
example, as:

    error: the argument '--inventory' cannot be used with '--fetch'

    Usage: rad sync --inventory [RID]

    For more information, try '--help'.

Which is incorrect, since `RID` is ignored. This is explained in the `--help`
documentation for `--inventory`.

Co-authored-by: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz>
2025-11-01 10:52:13 +01:00
..
radicle cli/sync: migrate to clap 2025-11-01 10:52:13 +01:00
radicle-cli cli/sync: migrate to clap 2025-11-01 10:52:13 +01:00
radicle-cli-test radicle-cli-test: Prepare testing with `jj` 2025-09-26 12:03:01 +01:00
radicle-cob workspace: Enable vendored `libgit2` 2025-10-13 16:14:23 +02:00
radicle-crypto workspace/rust/clippy: Fix all warnings 2025-10-17 12:56:43 +02:00
radicle-dag repo: Move workspace crates into `crates` subdirectory 2025-06-09 15:09:21 +02:00
radicle-fetch workspace/rust/clippy: Fix all warnings 2025-10-17 12:56:43 +02:00
radicle-git-metadata workspace/rust/clippy: Fix all warnings 2025-10-17 12:56:43 +02:00
radicle-git-ref-format git-ref-format: New crate 2025-10-13 13:34:15 +02:00
radicle-node node: Use `std::time` for reactor and wire 2025-10-29 09:05:52 +00:00
radicle-oid oid: use `std:#️⃣:Hasher::hash` over `Hasher::write` 2025-10-16 15:14:10 +01:00
radicle-protocol workspace/rust/clippy: Fix all warnings 2025-10-17 12:56:43 +02:00
radicle-remote-helper workspace/rust/clippy: Fix all warnings 2025-10-17 12:56:43 +02:00
radicle-schemars crates: bump for release 2025-10-06 16:36:30 +01:00
radicle-signals signals: Guard most of the crate for Unix 2025-08-22 15:19:31 +01:00
radicle-ssh workspace/rust/clippy: Fix all warnings 2025-10-17 12:56:43 +02:00
radicle-systemd systemd: Support Credentials 2025-10-09 10:03:21 +01:00
radicle-term workspace: Enable vendored `libgit2` 2025-10-13 16:14:23 +02:00