diff options
Diffstat (limited to 'cli/cli.py')
-rw-r--r-- | cli/cli.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -117,7 +117,7 @@ class OgCLI(): return ret def set(self, args): - choices = ['modes', 'mode', 'repo'] + choices = ['modes', 'mode', 'repo', 'live'] parser = argparse.ArgumentParser(prog='ogcli set') parser.add_argument('item', choices=choices) @@ -132,6 +132,8 @@ class OgCLI(): ret = OgModes.set_modes(self.rest, args[1:]) elif parsed_args.item == 'repo': ret = OgRepo.set_repo(self.rest, args[1:]) + elif parsed_args.item == 'live': + ret = OgLive.set_live(self.rest, args[1:]) return ret def request(self, args): |