runar_cli/lib.rs
1//! Runar CLI Library
2//!
3//! This library provides the core functionality for the Runar CLI, including
4//! node initialization, configuration management, and node startup.
5
6pub mod config;
7pub mod init;
8pub mod key_store;
9pub mod setup_server;
10pub mod start;
11
12// Re-export main types for convenience
13pub use config::NodeConfig;
14pub use init::InitCommand;
15pub use key_store::OsKeyStore;
16pub use start::StartCommand;
17
18/// Version information
19pub const VERSION: &str = env!("CARGO_PKG_VERSION");
20pub const NAME: &str = env!("CARGO_PKG_NAME");
21
22#[cfg(test)]
23mod tests {
24 #[test]
25 fn it_works() {
26 assert_eq!(2 + 2, 4);
27 }
28}