summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/cli/vpn.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/bitmask/cli/vpn.py')
-rw-r--r--src/leap/bitmask/cli/vpn.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/leap/bitmask/cli/vpn.py b/src/leap/bitmask/cli/vpn.py
index 219cac1..44556ac 100644
--- a/src/leap/bitmask/cli/vpn.py
+++ b/src/leap/bitmask/cli/vpn.py
@@ -37,6 +37,7 @@ SUBCOMMANDS:
stop Stop VPN
status Display status about the VPN
check Check whether VPN service is properly configured
+ list List the configured gateways
get_cert Get VPN Certificate from provider
install Install helpers (needs root)
uninstall Uninstall helpers (needs root)
@@ -94,6 +95,10 @@ SUBCOMMANDS:
return self._send(command.default_dict_printer)
+ def list(self, raw_args):
+ self.data += ['list']
+ return self._send(command.default_dict_printer)
+
def get_cert(self, raw_args):
parser = argparse.ArgumentParser(
description='Bitmask VPN cert fetcher',