cli: Make `rad node connect` work like `--connect`
modified radicle-cli/examples/rad-node.md
@@ -25,7 +25,7 @@ network. For example, let's connect to a known peer using their Node
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle-cli/src/commands/node.rs
@@ -3,7 +3,7 @@ use std::time;
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -29,7 +29,7 @@ Usage
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -59,8 +59,7 @@ pub struct Options {
|
|
|
|
|
|
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -114,7 +113,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -135,17 +134,7 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| - | |
| + | |
|
|
|
|
|
@@ -177,8 +166,9 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| - | |
| + | |
| + | |
| + | |
|
|
|
|
|
@@ -198,9 +188,9 @@ pub fn run(options: Options, ctx: impl term::Context) -> anyhow::Result<()> {
|
|
|
|
|
|
| - | |
| + | |
|
|
| - | |
| + | |
|
|
|
|
|
modified radicle/src/node.rs
@@ -22,6 +22,7 @@ use crate::crypto::PublicKey;
|
|
|
|
|
|
| + | |
|
|
|
|
|