Explorar o código

cmd_dialog: added stats_active command

Daniel-Constantin Mierla %!s(int64=6) %!d(string=hai) anos
pai
achega
fd71ea7d5a
Modificáronse 1 ficheiros con 12 adicións e 0 borrados
  1. 12 0
      kamcli/commands/cmd_dialog.py

+ 12 - 0
kamcli/commands/cmd_dialog.py

@@ -68,3 +68,15 @@ def dialog_list(ctx, callid, fromtag, totag):
     """
     command_ctl(ctx, 'dialog.terminate_dlg', [ callid, fromtag, totag ])
 
+
+##
+#
+#
[email protected]('stats_active', short_help='Show statistics for active dialogs')
+@pass_context
+def dialog_stats_active(ctx):
+    """Show statistics for active dialogs
+
+    \b
+    """
+    command_ctl(ctx, 'dialog.stats_active', [ ])