a
This commit is contained in:
commit
d51f7fcbfd
7 changed files with 153 additions and 0 deletions
16
app/scheduler.py
Normal file
16
app/scheduler.py
Normal 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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue