16 lines
No EOL
350 B
Python
16 lines
No EOL
350 B
Python
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) |