summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/cli/bitmask_cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/cli/bitmask_cli.py')
-rwxr-xr-xsrc/leap/bitmask/cli/bitmask_cli.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/leap/bitmask/cli/bitmask_cli.py b/src/leap/bitmask/cli/bitmask_cli.py
index b418f1a..2483d47 100755
--- a/src/leap/bitmask/cli/bitmask_cli.py
+++ b/src/leap/bitmask/cli/bitmask_cli.py
@@ -18,7 +18,6 @@
"""
Bitmask Command Line interface: zmq client.
"""
-import json
import sys
import signal
import traceback
@@ -30,6 +29,7 @@ from leap.bitmask.cli import command
from leap.bitmask.cli.keys import Keys
from leap.bitmask.cli.logs import Logs
from leap.bitmask.cli.mail import Mail
+from leap.bitmask.cli.provider import Provider
from leap.bitmask.cli.user import User
from leap.bitmask.cli.vpn import VPN
from leap.bitmask.cli.webui import WebUI
@@ -67,6 +67,10 @@ OPTIONAL ARGUMENTS:
epilog = ("Use 'bitmaskctl <command> help' to learn more "
"about each command.")
+ def provider(self, raw_args):
+ provider = Provider(self.cfg, self.print_json)
+ return provider.execute(raw_args)
+
def user(self, raw_args):
user = User(self.cfg, self.print_json)
return user.execute(raw_args)