feat(src): add install-rules command for udev rule installation

New Features
- Introduced `InstallRules` subcommand to install udev rules for rootless operation.

Enhancements
- Streamlined `LimitTdp` and `Limit` enum variants by removing unnecessary wrapper structs.
- Updated command dispatch in `main` to handle the new `InstallRules` variant.
This commit is contained in:
sankalp committed 2026-03-12 00:27:51 +05:45
1 parent 05c8a3bd87
commit d67eae94d9
2 files changed
+5 -6

No files matched your search

+1
View File
@@ -31,5 +31,6 @@ fn main() {
Commands::Power { command } => commands::power::execute(command),
Commands::Cooling { command } => commands::cooling::execute(command),
Commands::Status => commands::status::execute(),
Commands::InstallRules => commands::install_rules::execute(),
}
}