Extend ungleich-cli to add create-vpn, delete-vpn

This commit is contained in:
ahmadbilalkhalid 2019-06-16 13:58:05 +05:00
commit 2976e3a9fb
5 changed files with 120 additions and 14 deletions

View file

@ -8,9 +8,11 @@ from ungleich_account import Account_Create
from ungleich_weather import ungleichWeather
from ungleich_ssh_key import SSHKey
from ungleich_config import Ungleich_Config
from ungleich_vpn import ungleichVPN
VERSION = "0.0.4"
class ungleichCLI(object):
def __init__(self):
self._init_parser()
@ -22,6 +24,7 @@ class ungleichCLI(object):
config = Ungleich_Config(self.parser, self.parser_parents)
SSHKey(self.parser, self.parser_parents)
ungleichWeather(self.parser, self.parser_parents)
ungleichVPN(self.parser, self.parser_parents)
def _init_parser(self):
self.parser = {}