cli/debug: Use clap
See issue/7fb03f234030b91c38cc4f5b48bd30cf5fd6a1de.
5 files changed
+28
-31
2e77d5ef
→
7c89045e
modified crates/radicle-cli/examples/rad-help.md
@@ -11,6 +11,7 @@ Common `rad` commands used in various situations:
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/debug.rs
@@ -1,7 +1,7 @@
| - | |
| + | |
| + | |
|
|
|
|
| - | |
|
|
|
|
|
@@ -11,40 +11,16 @@ use serde::Serialize;
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
added crates/radicle-cli/src/commands/debug/args.rs
@@ -0,0 +1,13 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified crates/radicle-cli/src/commands/help.rs
@@ -42,6 +42,10 @@ const COMMANDS: &[CommandItem] = &[
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/main.rs
@@ -46,6 +46,7 @@ struct CliArgs {
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -200,7 +201,9 @@ pub(crate) fn run_other(exe: &str, args: &[OsString]) -> Result<(), Option<anyho
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|