This commit is contained in:
ahmadbilalkhalid 2019-08-27 13:31:22 +05:00
commit d51f7fcbfd
7 changed files with 153 additions and 0 deletions

16
app/scheduler.py Normal file
View file

@ -0,0 +1,16 @@
import click
import subprocess
@click.group()
def scheduler():
pass
@scheduler.command("setup")
def setup():
command = "git clone https://code.ungleich.ch/ungleich-public/ucloud-scheduler.git"
try:
subprocess.check_output(command.split())
except subprocess.CalledProcessError as e:
print("Some Error Occurrred", e)