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:
sankalp committed 2026-03-12 00:36:21 +05:45
1 parent 435e2d8f3b
commit f43a15095c
2 files changed
+6 -6

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
pub mod cli;
pub mod commands;
pub mod hardware;
pub mod utils;
+2 -6
View File
@@ -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();