use std::io; use std::net::SocketAddr; use std::path::PathBuf; use std::process::exit; use crossbeam_channel as chan; use thiserror::Error; use radicle::node::device::Device; use radicle::profile; use radicle_node::crypto::ssh::keystore::{Keystore, MemorySigner}; use radicle_node::{Runtime, VERSION}; #[cfg(unix)] use radicle_signals as signals; /// The log level to use before reading any other value /// from configuration. /// /// Note that this is different from the default value /// of the command line argument `--log`, as it is valid /// *even before that argument is parsed*. /// It ensures that we log the errors parsing the /// command line arguments, such as `--log`. const LOG_LEVEL_DEFAULT: &log::Level = &log::Level::Warn; pub const HELP_MSG: &str = r#" Usage radicle-node [