cli: A few improvements
See commits.
13 files changed
+125
-57
0908c65f
→
eff40166
modified radicle-cli/examples/rad-block.md
@@ -36,8 +36,8 @@ And a 'block' policy was added:
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
modified radicle-cli/examples/rad-node.md
@@ -35,9 +35,9 @@ repository that was already created:
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/examples/rad-seed-and-follow.md
@@ -30,8 +30,8 @@ We can list the repositories we are seeding by omitting the RID:
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
modified radicle-cli/examples/rad-unseed.md
@@ -12,7 +12,7 @@ $ rad ls
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands.rs
@@ -52,5 +52,7 @@ pub mod rad_stats;
|
|
|
|
|
|
| + | |
| + | |
|
|
|
modified radicle-cli/src/commands/help.rs
@@ -35,6 +35,7 @@ const COMMANDS: &[Help] = &[
|
|
|
|
|
|
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/id.rs
@@ -194,7 +194,9 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/seed.rs
@@ -20,14 +20,13 @@ pub const HELP: Help = Help {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
|
|
|
| - | |
| - | |
| - | |
| + | |
| + | |
|
|
|
|
|
@@ -36,7 +35,6 @@ Usage
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -52,16 +50,6 @@ pub enum Operation {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
|
|
|
|
|
@@ -78,7 +66,6 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -86,17 +73,14 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -110,13 +94,10 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -130,7 +111,6 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
|
|
|
|
|
@@ -177,9 +157,9 @@ pub fn seeding(profile: &Profile) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
| + | |
|
|
|
|
|
@@ -191,13 +171,9 @@ pub fn seeding(profile: &Profile) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
added radicle-cli/src/commands/unseed.rs
@@ -0,0 +1,79 @@
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
modified radicle-cli/src/main.rs
@@ -268,6 +268,13 @@ fn run_other(exe: &str, args: &[OsString]) -> Result<(), Option<anyhow::Error>>
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle-cli/src/terminal/format.rs
@@ -7,6 +7,7 @@ pub use radicle_term::{style, Paint};
|
|
|
|
|
|
| + | |
|
|
|
|
|
@@ -63,6 +64,14 @@ pub fn visibility(v: &Visibility) -> Paint<&str> {
|
|
|
|
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified radicle/src/node/config.rs
@@ -86,7 +86,7 @@ pub struct Limits {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/profile.rs
@@ -12,7 +12,7 @@
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -163,15 +163,7 @@ impl Config {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|