diff --git a/src/commands.rs b/src/commands.rs index 95c01b3..d756c84 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -2,13 +2,13 @@ // // SPDX-License-Identifier: GPL-3.0-or-later -pub mod generate; -pub mod traces; - use crate::commands::{generate::Generate, traces::Traces}; use clap::{Parser, Subcommand}; use std::process::ExitCode; +pub mod generate; +pub mod traces; + #[derive(Parser)] #[clap(author, version)] #[clap(arg_required_else_help = true)] diff --git a/src/main.rs b/src/main.rs index 51364c4..169734e 100644 --- a/src/main.rs +++ b/src/main.rs @@ -2,13 +2,13 @@ // // SPDX-License-Identifier: GPL-3.0-or-later -mod commands; -mod windows; - use clap::Parser; use commands::{Arguments, Runnable}; use std::process::ExitCode; +mod commands; +mod windows; + fn main() -> ExitCode { Arguments::parse().run() }