a
This commit is contained in:
parent
b75cfcf801
commit
77b1288a4c
2 changed files with 2 additions and 8 deletions
7
test.py
7
test.py
|
@ -1,7 +0,0 @@
|
|||
import json
|
||||
import os
|
||||
|
||||
with open(os.path.expanduser("~/Desktop/code/ucloud-vm/Pipfile.lock")) as f:
|
||||
# content = f.read()
|
||||
content = json.load(f)
|
||||
print(content["default"].keys())
|
|
@ -4,7 +4,7 @@ from app.scheduler import scheduler
|
|||
from app.host import host
|
||||
from app.image import image
|
||||
from app.file import file_scan
|
||||
|
||||
from app.cli import cli
|
||||
|
||||
@click.group()
|
||||
def entry_point():
|
||||
|
@ -16,6 +16,7 @@ entry_point.add_command(scheduler)
|
|||
entry_point.add_command(host)
|
||||
entry_point.add_command(image)
|
||||
entry_point.add_command(file_scan)
|
||||
entry_point.add_command(cli)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
Loading…
Reference in a new issue