19 lines
394 B
Rust
19 lines
394 B
Rust
pub mod auth;
|
|
mod cli;
|
|
pub mod config;
|
|
pub mod instance;
|
|
pub mod instance_logs;
|
|
pub mod net;
|
|
pub mod running;
|
|
pub mod tui;
|
|
|
|
#[tokio::main]
|
|
async fn main() {
|
|
// Guard must stay in scope to keep the log file writer alive
|
|
let _guard = tui::logging::init();
|
|
if let Err(e) = color_eyre::install() {
|
|
eprintln!("Failed to install color-eyre: {}", e);
|
|
}
|
|
cli::init().await
|
|
}
|