lune/src/cli/main.rs

20 lines
337 B
Rust
Raw Normal View History

2023-01-21 04:40:31 +00:00
#![deny(clippy::all)]
#![warn(clippy::cargo, clippy::pedantic)]
#![allow(clippy::needless_pass_by_value, clippy::match_bool)]
2023-01-19 02:11:47 +00:00
use anyhow::Result;
2023-01-19 01:47:14 +00:00
use clap::Parser;
mod cli;
mod utils;
use cli::Cli;
fn main() -> Result<()> {
smol::block_on(async {
let cli = Cli::parse();
cli.run().await?;
Ok(())
})
2023-01-19 01:47:14 +00:00
}