feat: implemented loop support in pwsp-cli

This commit is contained in:
2026-01-02 02:57:34 +03:00
parent 408f5317c4
commit 2a13c25230
4 changed files with 53 additions and 0 deletions
+8
View File
@@ -87,6 +87,14 @@ impl Request {
pub fn set_input(name: &str) -> Self {
Request::new("set_input", vec![("input_name", name)])
}
pub fn get_loop() -> Self {
Request::new("get_loop", vec![])
}
pub fn set_loop(enabled: &str) -> Self {
Request::new("set_loop", vec![("enabled", enabled)])
}
}
#[derive(Default, Debug, Clone, Serialize, Deserialize)]