mirror of
https://github.com/Noratrieb/elven-forest.git
synced 2026-01-16 19:35:02 +01:00
linkme
This commit is contained in:
parent
9d16c87e50
commit
31fe171557
5 changed files with 490 additions and 1 deletions
17
elven-wald/src/main.rs
Normal file
17
elven-wald/src/main.rs
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
use clap::Parser;
|
||||
use tracing::metadata::LevelFilter;
|
||||
use tracing_subscriber::EnvFilter;
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
let opts = elven_wald::Opts::parse();
|
||||
|
||||
tracing_subscriber::fmt()
|
||||
.with_env_filter(
|
||||
EnvFilter::builder()
|
||||
.with_default_directive(LevelFilter::INFO.into())
|
||||
.from_env_lossy(),
|
||||
)
|
||||
.init();
|
||||
|
||||
elven_wald::run(opts)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue