From 69d3a0f9ecd8662a07ba691b29f95f7133c28ed2 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 20 Mar 2025 10:58:51 +0100 Subject: [PATCH] wip #7406 @1 --- src/CommandLine/Owncloud.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/CommandLine/Owncloud.php diff --git a/src/CommandLine/Owncloud.php b/src/CommandLine/Owncloud.php new file mode 100644 index 0000000..40d61e7 --- /dev/null +++ b/src/CommandLine/Owncloud.php @@ -0,0 +1,24 @@ +setArg(null, 'user:list'); + $this->setArg('i'); + $this->setArg('output', 'json'); + $this->execute(); + + return json_decode($this->output); + } +} \ No newline at end of file -- 2.39.5