Implement display command to query and set refresh rates.
New Features
- Add DisplayCommands with Rates and SetRate subcommands
- Register display command in CLI dispatcher
Enhancements
- Extend command dispatch to handle Display subcommand
Bug Fixes
- None
Implemented touchpad control to allow enabling and disabling the touchpad via lapctl.
- New Features
- Add `touchpad` command with `enable` and `disable` subcommands.
- Enhancements
- Extend CLI parsing and command routing to support touchpad operations.
- Bug Fixes
- (none)
The new inhibit subcommand lets users block suspend/sleep while optionally running a command, specifying why and who, and running in daemon mode.
- New Features
- Introduce Inhibit subcommand with command, why, who, and daemon options
- Enhancements
- Extend CLI parsing to support additional arguments
- Enable background inhibition via daemon flag for continuous prevention
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`.
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.
Adds a new Cooling command group with selectable fan profiles (Performance, Balanced, Quiet) and updates the CLI and logging accordingly.
- New Features
- Introduce Cooling subcommands for setting thermal management modes
- Implement runtime logic to apply selected fan profiles
- Enhancements
- Extend CLI enum `Commands` to include `Cooling` and dispatch handling
- Refine env_logger formatting to output only `[LEVEL] message`
- Integrate cooling execution into the main command dispatch flow
- Bug Fixes
- No bug fixes introduced in this change
Add clap‑based CLI with subcommands (gpu, battery, power, status), verbose flag, and detailed options such as rtd3, use_nvidia_current, etc.
- New Features
- New CLI entry point with complete subcommand hierarchy
- Verbose logging support
- Granular command options for GPU, Battery, Power, Status
- Enhancements
- Replace placeholder hello world with proper logging initialization
- Modularize command implementations into dedicated modules
Add main entry point and scaffold CLI module to start building the tool.
- New Features:
- Added `src/main.rs` with a hello‑world entry point.
- Added `src/cli.rs` as placeholder for future CLI command definitions.
- Enhancements:
- None
- Bug Fixes:
- None