Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
REVIEW: we put `mod`s at the top, so fixing this while I'm here
Fintan Halpenny committed 6 months ago
commit a5b3c43f6ca89e5830f40cb67adfc074b6999d92
parent f94a51312f29d5f215d93d7e9491deb55a461138
1 file changed +7 -7
modified crates/radicle-cli/src/commands/node.rs
@@ -1,3 +1,10 @@
+
mod args;
+
mod commands;
+
pub mod control;
+
mod events;
+
mod logs;
+
pub mod routing;
+

use std::{process, time};

use radicle::node::address::Store as AddressStore;
@@ -14,13 +21,6 @@ pub use args::Args;
pub(crate) use args::ABOUT;
use args::{Addr, Command};

-
mod args;
-
mod commands;
-
pub mod control;
-
mod events;
-
mod logs;
-
pub mod routing;
-

pub fn run(args: Args, ctx: impl term::Context) -> anyhow::Result<()> {
    let profile = ctx.profile()?;
    let mut node = Node::new(profile.socket());