Skip to content

Commit

Permalink
Remove unused scaffold command
Browse files Browse the repository at this point in the history
  • Loading branch information
yoland68 committed May 3, 2024
1 parent 32ea493 commit f62236b
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions comfy_cli/command/custom_nodes/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,15 +426,15 @@ def fix(
# upload_file_to_signed_url(signed_url, zip_filename)


@app.command("init", help="Init scaffolding for custom node")
@tracking.track_command("node")
def scaffold():
if os.path.exists("comfynode.toml"):
typer.echo("Warning: 'comfynode.toml' already exists. Will not overwrite.")
raise typer.Exit(code=1)

typer.echo("Initializing metadata...")
initialize_project_config()
typer.echo(
"comfynode.toml created successfully. Defaults were filled in. Please check before publishing."
)
# @app.command("init", help="Init scaffolding for custom node")
# @tracking.track_command("node")
# def scaffold():
# if os.path.exists("comfynode.toml"):
# typer.echo("Warning: 'comfynode.toml' already exists. Will not overwrite.")
# raise typer.Exit(code=1)

# typer.echo("Initializing metadata...")
# initialize_project_config()
# typer.echo(
# "comfynode.toml created successfully. Defaults were filled in. Please check before publishing."
# )

0 comments on commit f62236b

Please sign in to comment.