浏览代码

cmd_tls: wrapper around rpc commands list and info

Daniel-Constantin Mierla 7 年之前
父节点
当前提交
898aae4d50
共有 1 个文件被更改,包括 28 次插入0 次删除
  1. 28 0
      kamcli/commands/cmd_tls.py

+ 28 - 0
kamcli/commands/cmd_tls.py

@@ -170,6 +170,34 @@ def tls_cfgreload(ctx):
     command_ctl(ctx, 'tls.reload', [ ])
 
 
+##
+#
+#
[email protected]('conlist', short_help='List current tls connections')
+@pass_context
+def tls_conlist(ctx):
+    """List current tls connections
+
+    \b
+    """
+    command_ctl(ctx, 'tls.list', [ ])
+
+
+
+##
+#
+#
[email protected]('info', short_help='Summary of tls usage')
+@pass_context
+def tls_info(ctx):
+    """Summary of tls usage
+
+    \b
+    """
+    command_ctl(ctx, 'tls.info', [ ])
+
+
+
 
 ##
 #