looks ok, one thing i'd change is to have a custom column order
for 'list' and 'status' that resembles the original output
(the default order is not really helpful)
the 3rd paramter of print_api_result is a list of columns
and as an option you can set a 'sort_key' with the index
of the column to
Signed-off-by: Lorenz Stechauner
---
PVE/CLI/pvesm.pm | 146 ++-
1 file changed, 18 insertions(+), 128 deletions(-)
diff --git a/PVE/CLI/pvesm.pm b/PVE/CLI/pvesm.pm
index 190de91..6c0a1b2 100755
--- a/PVE/CLI/pvesm.pm
+++ b/PVE/CLI/pvesm.pm
@@ -178,68