This commit is contained in:
2026-03-26 21:23:22 +04:00
commit 41f4fa65b5
25 changed files with 5009 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
use clap::Parser;
use color_eyre::Result;
use bore::client::{ClientArgs, run};
#[tokio::main]
async fn main() -> Result<()> {
color_eyre::install()?;
if std::env::var_os("RUST_LOG").is_some() {
tracing_subscriber::fmt()
.with_env_filter(tracing_subscriber::EnvFilter::from_default_env())
.init();
}
let args = ClientArgs::parse();
run(args).await
}
+17
View File
@@ -0,0 +1,17 @@
use clap::Parser;
use color_eyre::Result;
use bore::server::{ServerArgs, run};
#[tokio::main]
async fn main() -> Result<()> {
color_eyre::install()?;
tracing_subscriber::fmt()
.with_env_filter(
tracing_subscriber::EnvFilter::try_from_default_env().unwrap_or_else(|_| "info".into()),
)
.init();
let args = ServerArgs::parse();
run(args).await
}