feat(src): add Run subcommand tolaunch applications on discrete GPU

- New Features
  - Introduce `Run` command with trailing var argument support for executing commands on the discrete GPU (requires Hybrid Mode)
- Enhancements
  - Update CLI parsing to accept a vector of command strings
- Bug Fixes
  - None
This commit is contained in:
sankalp committed 2026-03-19 20:55:15 +05:45
1 parent f7a2848214
commit 707192903e
1 file changed
+6
+6
View File
@@ -110,6 +110,12 @@ pub enum GpuCommands {
CacheDelete,
/// Show cache created by lapctl
CacheQuery,
/// Run an application on the discrete GPU (Requires Hybrid Mode)
Run {
/// The command and arguments to execute
#[arg(trailing_var_arg = true, allow_hyphen_values = true)]
command: Vec<String>,
},
}
#[derive(Subcommand, Debug)]