Parcourir la source

[2922] Spec the members command

Include the members command in the spec file of msgq.
Michal 'vorner' Vaner il y a 12 ans
Parent
commit
33352a6b9a
1 fichiers modifiés avec 13 ajouts et 1 suppressions
  1. 13 1
      src/bin/msgq/msgq.spec

+ 13 - 1
src/bin/msgq/msgq.spec

@@ -3,6 +3,18 @@
     "module_name": "Msgq",
     "module_name": "Msgq",
     "module_description": "The message queue",
     "module_description": "The message queue",
     "config_data": [],
     "config_data": [],
-    "commands": []
+    "commands": [
+      {
+        "command_name": "members",
+        "command_description": "Provide the list of members of a group or of the whole MsgQ if no group is given.",
+        "command_args": [
+          {
+            "item_name": "group",
+            "item_optional": true,
+            "item_type": "string"
+          }
+        ]
+      }
+    ]
   }
   }
 }
 }