Created
March 29, 2017 14:44
-
-
Save ktechmidas/f9e55e665cfa82bf41cd0ea263d879f2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if __name__ == "__main__": | |
parser = argparse.ArgumentParser(description='Manually intervene in the Core Seafile Cluster') | |
parser.add_argument('action', help='Actions: list, create, kill') | |
parser.add_argument('platform', nargs='?', default="test") | |
parser.add_argument('version', nargs='?', default="0") | |
parser.add_argument('--domain') | |
parser.add_argument('--rebuild') | |
args = parser.parse_args() | |
x = ClusterSystem() | |
x.main(args.action) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment