summaryrefslogtreecommitdiffstats
path: root/cli/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'cli/cli.py')
-rw-r--r--cli/cli.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/cli.py b/cli/cli.py
index ddc4a01..95b0f82 100644
--- a/cli/cli.py
+++ b/cli/cli.py
@@ -215,7 +215,7 @@ class OgCLI():
OgRoom.delete_room(self.rest, args[1:])
def add(self, args):
- choices = ['server', 'repo', 'center', 'room']
+ choices = ['server', 'repo', 'center', 'room', 'client']
parser = argparse.ArgumentParser(prog='ogcli add')
parser.add_argument('add_obj', choices=choices)
@@ -233,3 +233,5 @@ class OgCLI():
OgCenter.add_center(self.rest, args[1:])
elif parsed_args.add_obj == 'room':
OgRoom.add_room(self.rest, args[1:])
+ elif parsed_args.add_obj == 'client':
+ OgClient.add_client(self.rest, args[1:])