1
Fork 0

Add global lints.

This commit is contained in:
Bauke 2023-10-31 16:58:35 +01:00
parent cb3b3e465e
commit 9e208ed39e
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
3 changed files with 13 additions and 0 deletions

View File

@ -1,7 +1,10 @@
//! The CLI definitions.
pub use {crate::cli::run::run, clap::Parser};
mod run;
/// The main CLI command.
#[derive(Debug, Parser)]
#[command(about, author, version)]
pub struct Cli {}

View File

@ -1,5 +1,8 @@
//! The CLI logic.
use super::{Cli, Parser};
/// Parse the CLI arguments and execute them.
pub fn run() {
let cli = Cli::parse();
dbg!(cli);

View File

@ -1,3 +1,10 @@
//! # Bautils
//!
//! > **Bauke's Ad-hoc Utilities.**
#![forbid(unsafe_code)]
#![warn(missing_docs, clippy::missing_docs_in_private_items)]
mod cli;
fn main() {