feat: cm-cli - post-install
This commit is contained in:
11
cm-cli.py
11
cm-cli.py
@@ -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)",
|
||||
|
||||
Reference in New Issue
Block a user