cli: rad node connect - attempt without explicit address
In many cases the radicle node is already aware of the publicly advertised addresses for each node. This PR attempts to offer connection by nid alone, ommiting the @addr part.
rad node connect z6MkrLMMsiPWUcNPHcRajuMi9mDfYckSoJyPwwnknocNYPm7 now works by finding an advertised public url to attempt the connection with. Tor and local addresses are not in scope.
2 files changed
+42
-4
76e00a34
→
895ca5d0
modified crates/radicle-cli/examples/rad-node.md
@@ -113,8 +113,21 @@ $ rad node inventory
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|
modified crates/radicle-cli/src/commands/node.rs
@@ -1,14 +1,17 @@
|
|
|
|
| + | |
|
|
|
|
|
|
|
|
| + | |
|
|
|
|
| - | |
|
|
| + | |
|
|
| + | |
|
|
|
|
|
@@ -35,7 +38,7 @@ Usage
|
|
|
|
|
|
| - | |
| + | |
|
|
|
|
|
@@ -171,7 +174,29 @@ impl Args for Options {
|
|
|
|
|
|
| - | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
| + | |
|
|
|
|
|