Skip to content

Commit 81bf867

Browse files
authored
Properly fix the list name collision in the model list command (#332)
1 parent 88cbbbb commit 81bf867

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

comfy_cli/command/models/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,9 @@ def list_models(path: pathlib.Path) -> list:
399399
return [file for file in path.iterdir() if file.is_file()]
400400

401401

402-
@app.command()
402+
@app.command("list")
403403
@tracking.track_command("model")
404-
def list(
404+
def list_command(
405405
ctx: typer.Context,
406406
relative_path: str = typer.Option(
407407
DEFAULT_COMFY_MODEL_PATH,

0 commit comments

Comments
 (0)