feat: cm-cli - post-install

This commit is contained in:
Dr.Lt.Data
2024-05-25 16:47:54 +09:00
parent 3c14b7314e
commit 012fe6cd7a
3 changed files with 13 additions and 2 deletions

View File

@@ -939,6 +939,17 @@ def restore_dependencies():
i += 1
@app.command(
"post-install", help="Install dependencies and execute installation script"
)
def post_install(
path: str = typer.Argument(
help="path to custom node",
)):
path = os.path.expanduser(path)
cm_ctx.post_install(path)
@app.command(
"install-deps",
help="Install dependencies from dependencies file(.json) or workflow(.png/.json)",