refactor(src): restructure CLI module organization and adjust imports
Refactor internal CLI module layout to streamline imports and separate concerns. - Enhancements - Consolidated CLI modules into `lapctl::cli` and `lapctl::commands`. - Updated imports in `main.rs` to use absolute paths. - Removed redundant module declarations from `main.rs`.
This commit is contained in:
2 files changed
+6
-6
No files matched your search
@@ -0,0 +1,4 @@
|
||||
pub mod cli;
|
||||
pub mod commands;
|
||||
pub mod hardware;
|
||||
pub mod utils;
|
||||
+2
-6
@@ -1,11 +1,7 @@
|
||||
use clap::Parser;
|
||||
|
||||
mod cli;
|
||||
mod commands;
|
||||
mod hardware;
|
||||
mod utils;
|
||||
|
||||
use cli::{Cli, Commands};
|
||||
use lapctl::cli::{Cli, Commands};
|
||||
use lapctl::commands;
|
||||
|
||||
fn main() {
|
||||
let cli = Cli::parse();
|
||||
|
||||
Reference in new issue
Block a user