diff --git a/radicle-cli/examples/rad-node.md b/radicle-cli/examples/rad-node.md index 638733d8..035a9b32 100644 --- a/radicle-cli/examples/rad-node.md +++ b/radicle-cli/examples/rad-node.md @@ -28,12 +28,12 @@ $ rad follow did:key:z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk --alias Bo ✓ Follow policy updated for z6Mkt67GdsW7715MEfRuP4pSZxJRJh6kj6Y48WRqVv4N1tRk (Bob) ``` -Now, when we use the `rad node seeding` command we will see +Now, when we use the `rad seed` command we will see information for repositories that we seed -- in this case a repository that was already created: ``` -$ rad node seeding +$ rad seed ╭───────────────────────────────────────────────────────╮ │ RID Scope Policy │ ├───────────────────────────────────────────────────────┤ diff --git a/radicle-cli/examples/rad-seed-and-follow.md b/radicle-cli/examples/rad-seed-and-follow.md index 03280d63..c855d11a 100644 --- a/radicle-cli/examples/rad-seed-and-follow.md +++ b/radicle-cli/examples/rad-seed-and-follow.md @@ -24,3 +24,14 @@ Now let's seed one of Eve's repositories: $ rad seed rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji --scope followed --no-fetch ✓ Seeding policy updated for rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji with scope 'followed' ``` + +We can list the repositories we are seeding by omitting the RID: + +``` +$ rad seed +╭───────────────────────────────────────────────────────╮ +│ RID Scope Policy │ +├───────────────────────────────────────────────────────┤ +│ rad:z42hL2jL4XNk6K8oHQaSWfMgCL7ji followed allow │ +╰───────────────────────────────────────────────────────╯ +``` diff --git a/radicle-cli/src/commands/node.rs b/radicle-cli/src/commands/node.rs index a9ee5708..477b2edc 100644 --- a/radicle-cli/src/commands/node.rs +++ b/radicle-cli/src/commands/node.rs @@ -13,9 +13,7 @@ use crate::terminal::Element as _; #[path = "node/control.rs"] pub mod control; #[path = "node/events.rs"] -pub mod events; -#[path = "node/policies.rs"] -pub mod policies; +mod events; #[path = "node/routing.rs"] pub mod routing; @@ -32,7 +30,6 @@ Usage rad node logs [-n ] rad node connect @ [