Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: add LONG_ABOUT
Fintan Halpenny committed 6 months ago
commit 8a9f77acc6c1958333ac54d6cdedb4a4de4ff985
parent 817388b7146a35c5ea6d90e45f13cdf0d265ec92
1 file changed +6 -1
modified crates/radicle-cli/src/commands/config/args.rs
@@ -3,8 +3,13 @@ use radicle::node::Alias;

pub(crate) const ABOUT: &str = "Manage your local Radicle configuration";

+
const LONG_ABOUT: &str = r#"
+
If no argument is specified, prints the current radicle configuration as JSON.
+
To initialize a new configuration file, use `rad config init`.
+
"#;
+

#[derive(Debug, Parser)]
-
#[command(about = ABOUT, disable_version_flag = true)]
+
#[command(about = ABOUT, long_about = LONG_ABOUT, disable_version_flag = true)]
pub struct Args {
    #[command(subcommand)]
    pub(crate) command: Option<Command>,