Fintan Halpenny and Lorenz Leutgeb
23332fa318
cli/main: migrate main to use clap
...
Now that all commands can be parsed by clap, remove any custom parsing and
directly use `CliArgs::parse`.
The `Diff` command was removed, since only one `external_command` can be
declared for a subcommand. The handling of `rad diff` is now done via the
`External` variant. If the subcommand name is `diff` then this is executed,
otherwise delegate to the possible `rad-{exe}` command.
Also of note, the `rad inspect` command has an alias `rad .`. This changes the
behaviour of `rad . --help`. Before, it would print the help of the `rad`
command. Now, it prints the help of `rad inspect`.
Co-authored-by: Lorenz Leutgeb <lorenz.leutgeb@radicle.xyz >
2025-11-01 11:20:43 +01:00
..
2025-10-13 08:56:23 +01:00
2025-09-15 17:10:29 +02:00
2025-09-16 11:37:13 +02:00
2025-09-26 12:03:01 +01:00
2025-09-26 12:03:01 +01:00
2025-09-26 12:03:01 +01:00
2025-10-17 16:57:29 +01:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-07-18 21:44:06 +01:00
2025-09-15 10:21:09 +01:00
2025-07-18 21:44:06 +01:00
2025-07-18 21:44:06 +01:00
2025-07-18 21:44:06 +01:00
2025-06-09 15:09:21 +02:00
2025-07-18 21:44:06 +01:00
2025-08-19 15:01:26 +01:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-08-19 15:01:26 +01:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-09-16 11:37:13 +02:00
2025-07-19 12:59:02 +01:00
2025-10-15 10:30:34 +02:00
2025-07-18 21:44:06 +01:00
2025-06-09 15:09:21 +02:00
2025-11-01 11:20:43 +01:00
2025-06-09 15:09:21 +02:00
2025-08-14 16:15:19 +01:00
2025-08-14 16:15:19 +01:00
2025-07-16 16:41:16 +02:00
2025-06-09 15:09:21 +02:00
2025-10-13 08:56:23 +01:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-08-19 15:01:26 +01:00
2025-06-09 15:09:21 +02:00
2025-07-23 07:43:27 +01:00
2025-09-15 17:10:29 +02:00
2025-09-15 17:10:29 +02:00
2025-07-23 07:43:27 +01:00
2025-06-09 15:09:21 +02:00
2025-07-18 21:44:06 +01:00
2025-08-22 14:56:03 +02:00
2025-06-09 15:09:21 +02:00
2025-07-18 21:44:06 +01:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-09-28 18:02:55 +02:00
2025-06-09 15:09:21 +02:00
2025-09-26 13:21:38 +02:00
2025-08-04 17:00:54 +02:00
2025-08-04 17:00:54 +02:00
2025-09-16 11:37:13 +02:00
2025-09-04 17:12:19 +03:00
2025-09-16 11:37:13 +02:00
2025-09-16 11:37:13 +02:00
2025-07-18 21:44:06 +01:00
2025-09-16 11:37:13 +02:00
2025-06-09 15:09:21 +02:00
2025-10-13 10:18:10 +01:00
2025-06-09 15:09:21 +02:00
2025-10-15 10:30:34 +02:00
2025-09-16 11:37:13 +02:00
2025-09-16 11:37:13 +02:00
2025-06-09 15:09:21 +02:00
2025-09-15 17:10:29 +02:00
2025-09-26 12:03:01 +01:00
2025-08-04 17:00:54 +02:00
2025-08-04 17:00:54 +02:00
2025-09-16 11:37:13 +02:00
2025-09-16 11:37:13 +02:00
2025-09-16 11:37:13 +02:00
2025-09-19 07:57:44 +01:00
2025-09-16 11:37:13 +02:00
2025-06-09 15:09:21 +02:00
2025-07-18 21:44:06 +01:00
2025-07-18 21:44:06 +01:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-10-13 08:56:23 +01:00
2025-06-09 15:09:21 +02:00
2025-08-13 13:45:22 +01:00
2025-06-09 15:09:21 +02:00
2025-06-09 15:09:21 +02:00
2025-06-18 16:21:21 +02:00
2025-06-09 15:09:21 +02:00