@@ -57,6 +57,14 @@ enum Commands { |
| 57 | | 57 | |
| 58 | /// Diagnose issues and generate reports | 58 | /// Diagnose issues and generate reports |
| 59 | Doctor(commands::doctor::DoctorArgs), | 59 | Doctor(commands::doctor::DoctorArgs), |
| | 60 | + |
| | 61 | + /// Kill stale Wine/WeMod processes |
| | 62 | + Cleanup(commands::cleanup::CleanupArgs), |
| | 63 | + |
| | 64 | + /// Steam launch option wrapper — injects WeMod into the game's Proton session |
| | 65 | + /// |
| | 66 | + /// Set Steam launch options to: wanda inject %command% |
| | 67 | + Inject(commands::inject::InjectArgs), |
| 60 | } | 68 | } |
| 61 | | 69 | |
| 62 | fn setup_logging(verbose: u8, quiet: bool) { | 70 | fn setup_logging(verbose: u8, quiet: bool) { |
@@ -92,6 +100,8 @@ async fn main() { |
| 92 | Commands::Wemod(cmd) => commands::wemod::run(cmd, cli.config).await, | 100 | Commands::Wemod(cmd) => commands::wemod::run(cmd, cli.config).await, |
| 93 | Commands::Config(cmd) => commands::config::run(cmd, cli.config).await, | 101 | Commands::Config(cmd) => commands::config::run(cmd, cli.config).await, |
| 94 | Commands::Doctor(args) => commands::doctor::run(args, cli.config).await, | 102 | Commands::Doctor(args) => commands::doctor::run(args, cli.config).await, |
| | 103 | + Commands::Cleanup(args) => commands::cleanup::run(args, cli.config).await, |
| | 104 | + Commands::Inject(args) => commands::inject::run(args, cli.config).await, |
| 95 | }; | 105 | }; |
| 96 | | 106 | |
| 97 | if let Err(e) = result { | 107 | if let Err(e) = result { |