Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: Hide command, as it was hidden before
Lorenz Leutgeb committed 6 months ago
commit c71b10d2b949eb7b0d9f98127252629b3af28bcb
parent 720dfa0094da37fcb1cfd0ae80e524da1263fde8
5 files changed +2 -9
modified crates/radicle-cli/examples/rad-help.md
@@ -10,7 +10,6 @@ Common `rad` commands used in various situations:
	block        Block repositories or nodes from being seeded or followed
	checkout     Checkout a repository into the local directory
	clone        Clone a Radicle repository
-
	cob          Manage collaborative objects
	config       Manage your local Radicle configuration
	debug        Write out information to help debug your Radicle node remotely
	fork         Create a fork of a repository
modified crates/radicle-cli/src/commands/cob.rs
@@ -19,7 +19,6 @@ use crate::git::Rev;
use crate::terminal as term;

pub use args::Args;
-
pub(crate) use args::ABOUT;

use args::{FilteredTypeName, Format};

modified crates/radicle-cli/src/commands/cob/args.rs
@@ -15,10 +15,8 @@ use radicle::storage;

use crate::git::Rev;

-
pub(crate) const ABOUT: &str = "Manage collaborative objects";
-

#[derive(Parser, Debug)]
-
#[command(about = ABOUT, disable_version_flag = true)]
+
#[command(disable_version_flag = true)]
pub struct Args {
    #[command(subcommand)]
    pub(super) command: Command,
modified crates/radicle-cli/src/commands/help.rs
@@ -53,10 +53,6 @@ const COMMANDS: &[CommandItem] = &[
        name: "clone",
        about: crate::commands::clone::ABOUT,
    },
-
    CommandItem::Clap {
-
        name: "cob",
-
        about: crate::commands::cob::ABOUT,
-
    },
    CommandItem::Lexopt(crate::commands::config::HELP),
    CommandItem::Clap {
        name: "debug",
modified crates/radicle-cli/src/main.rs
@@ -50,6 +50,7 @@ enum Commands {
    Checkout(checkout::Args),
    Clean(clean::Args),
    Clone(clone::Args),
+
    #[command(hide = true)]
    Cob(cob::Args),
    Debug(debug::Args),