diff --git a/radicle-cli/examples/rad-node.md b/radicle-cli/examples/rad-node.md index fd44566a..fbb52587 100644 --- a/radicle-cli/examples/rad-node.md +++ b/radicle-cli/examples/rad-node.md @@ -18,6 +18,12 @@ $ rad node status ✓ Node is running and listening on [..]. ``` +``` +$ rad node config --addresses +z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi@41.12.98.112:8776 +z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi@seed.cloudhead.io:8776 +``` + The node also allows us to query data that it has access to such as the follow policies and the routing table. Before we explore those commands we'll first follow a peer so that we have something to diff --git a/radicle-cli/examples/rad-self.md b/radicle-cli/examples/rad-self.md index 6acf3ba9..a486efc8 100644 --- a/radicle-cli/examples/rad-self.md +++ b/radicle-cli/examples/rad-self.md @@ -38,8 +38,3 @@ ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHahWSBEpuT1ESZbynOmBNkLBSnR32Ar4woZqSV2YNH1 $ rad self --home [..]/home/alice/.radicle ``` - -``` -$ rad self --address -z6MknSLrJoTcukLrE435hVNQT4JUhbvWLX4kUzqkEStBU8Vi@seed.alice.acme:8776 -``` diff --git a/radicle-cli/src/commands/node.rs b/radicle-cli/src/commands/node.rs index 341d3a0f..28ccf69b 100644 --- a/radicle-cli/src/commands/node.rs +++ b/radicle-cli/src/commands/node.rs @@ -4,6 +4,8 @@ use std::time; use anyhow::anyhow; +use radicle::node::config::ConnectAddress; +use radicle::node::Handle as _; use radicle::node::{Address, Node, NodeId, PeerAddr}; use radicle::prelude::RepoId; @@ -32,7 +34,7 @@ Usage rad node connect @ [