2023-01-21 04:40:31 +00:00
|
|
|
#![deny(clippy::all)]
|
|
|
|
#![warn(clippy::cargo, clippy::pedantic)]
|
2023-01-27 00:36:06 +00:00
|
|
|
#![allow(
|
|
|
|
clippy::needless_pass_by_value,
|
|
|
|
clippy::match_bool,
|
|
|
|
clippy::module_name_repetitions
|
|
|
|
)]
|
2023-01-19 02:11:47 +00:00
|
|
|
|
2023-01-24 07:05:54 +00:00
|
|
|
use std::process::ExitCode;
|
|
|
|
|
2023-01-21 03:01:02 +00:00
|
|
|
use anyhow::Result;
|
2023-01-19 01:47:14 +00:00
|
|
|
use clap::Parser;
|
|
|
|
|
|
|
|
mod cli;
|
2023-01-27 00:36:06 +00:00
|
|
|
mod gen;
|
2023-01-19 01:47:14 +00:00
|
|
|
mod utils;
|
|
|
|
|
|
|
|
use cli::Cli;
|
|
|
|
|
2023-01-24 07:05:54 +00:00
|
|
|
fn main() -> Result<ExitCode> {
|
|
|
|
smol::block_on(async { Cli::parse().run().await })
|
2023-01-19 01:47:14 +00:00
|
|
|
}
|