diff options
Diffstat (limited to 'cli/cli.py')
-rw-r--r-- | cli/cli.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -191,7 +191,7 @@ class OgCLI(): OgDisk.setup_disk(self.rest, args[1:]) def update(self, args): - choices = ['image', 'center', 'room', 'folder'] + choices = ['image', 'repo', 'center', 'room', 'folder'] parser = argparse.ArgumentParser(prog='ogcli update') parser.add_argument('update_obj', choices=choices) @@ -209,6 +209,8 @@ class OgCLI(): OgRoom.update_room(self.rest, args[1:]) elif parsed_args.update_obj == 'folder': OgFolder.update_folder(self.rest, args[1:]) + elif parsed_args.update_obj == 'repo': + OgRepo.update_repo(self.rest, args[1:]) def delete(self, args): choices = ['server', 'repo', 'center', 'room', 'client', 'folder'] |