diff --git a/radicle-cli/examples/rad-inspect.md b/radicle-cli/examples/rad-inspect.md index a9c64760..8e07872c 100644 --- a/radicle-cli/examples/rad-inspect.md +++ b/radicle-cli/examples/rad-inspect.md @@ -68,3 +68,6 @@ date Thu, 15 Dec 2022 17:28:04 +0000 } ``` + +The identity document is the metadata associated with a repository, that is +only changeable by delegates. diff --git a/radicle-cli/src/commands.rs b/radicle-cli/src/commands.rs index 51a3a373..e6eeb616 100644 --- a/radicle-cli/src/commands.rs +++ b/radicle-cli/src/commands.rs @@ -12,6 +12,8 @@ pub mod rad_comment; pub mod rad_delegate; #[path = "commands/edit.rs"] pub mod rad_edit; +#[path = "commands/fetch.rs"] +pub mod rad_fetch; #[path = "commands/help.rs"] pub mod rad_help; #[path = "commands/id.rs"] diff --git a/radicle-cli/src/commands/clone.rs b/radicle-cli/src/commands/clone.rs index 35d0474e..8a292545 100644 --- a/radicle-cli/src/commands/clone.rs +++ b/radicle-cli/src/commands/clone.rs @@ -10,13 +10,14 @@ use radicle::git::raw; use radicle::identity::doc::{DocError, Id}; use radicle::identity::{doc, IdentityError}; use radicle::node; -use radicle::node::{FetchResult, Handle as _, Node}; +use radicle::node::{Handle as _, Node}; use radicle::prelude::*; use radicle::rad; use radicle::storage; use radicle::storage::git::Storage; use crate::commands::rad_checkout as checkout; +use crate::commands::rad_fetch as fetch; use crate::project; use crate::terminal as term; use crate::terminal::args::{Args, Error, Help}; @@ -29,7 +30,7 @@ pub const HELP: Help = Help { usage: r#" Usage - rad clone [