lune/packages/cli/src/main.rs

29 lines
526 B
Rust
Raw Normal View History

2023-01-21 04:40:31 +00:00
#![deny(clippy::all)]
#![warn(clippy::cargo, clippy::pedantic)]
#![allow(
2023-02-06 00:13:58 +00:00
clippy::cargo_common_metadata,
clippy::match_bool,
clippy::module_name_repetitions,
clippy::multiple_crate_versions,
clippy::needless_pass_by_value
)]
2023-01-19 02:11:47 +00:00
use std::process::ExitCode;
use anyhow::Result;
2023-01-19 01:47:14 +00:00
use clap::Parser;
pub(crate) mod cli;
pub(crate) mod gen;
pub(crate) mod utils;
#[cfg(test)]
mod tests;
2023-01-19 01:47:14 +00:00
use cli::Cli;
#[tokio::main(flavor = "multi_thread")]
async fn main() -> Result<ExitCode> {
Cli::parse().run().await
2023-01-19 01:47:14 +00:00
}