feat: get daemon's version using pwsp-cli

pwsp-cli get daemon-version
This commit is contained in:
2026-02-14 15:43:17 +03:00
parent 23ae562849
commit b816d2aa88
4 changed files with 18 additions and 1 deletions
+1
View File
@@ -69,6 +69,7 @@ pub fn parse_command(request: &Request) -> Option<Box<dyn Executable + Send>> {
Some(Box::new(SetLoopCommand { enabled, id }))
}
"toggle_loop" => Some(Box::new(ToggleLoopCommand { id })),
"get_daemon_version" => Some(Box::new(GetDaemonVersionCommand {})),
"get_full_state" => Some(Box::new(GetFullStateCommand {})),
_ => None,
}