feat(cli, flatpak): implemented kill action for pwsp-cli.

use it instead of pkill in the flatpak wrapper
This commit is contained in:
2026-02-23 13:40:41 +03:00
parent eb89733715
commit 58e5f039be
6 changed files with 22 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@ pub fn parse_command(request: &Request) -> Option<Box<dyn Executable + Send>> {
match request.name.as_str() {
"ping" => Some(Box::new(PingCommand {})),
"kill" => Some(Box::new(KillCommand {})),
"pause" => Some(Box::new(PauseCommand { id })),
"resume" => Some(Box::new(ResumeCommand { id })),
"toggle_pause" => Some(Box::new(TogglePauseCommand { id })),