From 61c601622a8c1c8d099a48b88d9fb3145e694fe7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 13 Jun 2019 21:11:38 +0100 Subject: add capability to switch branches --- src/frontend/cli/sisyphus-cli.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/frontend') diff --git a/src/frontend/cli/sisyphus-cli.py b/src/frontend/cli/sisyphus-cli.py index 5ec0504..13c84f2 100755 --- a/src/frontend/cli/sisyphus-cli.py +++ b/src/frontend/cli/sisyphus-cli.py @@ -49,6 +49,13 @@ if "__main__" == __name__: showHelp() else: showHelp() + elif "--branch" in sys.argv[1:]: + if "--master" in sys.argv[2:]: + setupStable() + elif "--next" in sys.argv[2:]: + setupTesting() + else: + showHelp() elif "--help" in sys.argv[1:]: showHelp() else: -- cgit v1.2.3