Add global lints.
This commit is contained in:
parent
cb3b3e465e
commit
9e208ed39e
|
@ -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 {}
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue