Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions comfy_cli/cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -551,11 +551,18 @@ def install(
return None

if nvidia and platform == constants.OS.MACOS:
rprint("[bold red]Nvidia GPU is never on MacOS. What are you smoking? 🤔[/bold red]")
rprint(
"[bold red]--nvidia was passed but this is macOS, which has no NVIDIA GPU. "
"Re-run with --m-series (Apple silicon) or --cpu, or omit the GPU flag to select interactively.[/bold red]"
)
raise typer.Exit(code=1)

if platform != constants.OS.MACOS and m_series:
rprint(f"[bold red]You are on {platform} bruh [/bold red]")
rprint(
f"[bold yellow]--m-series is for Apple silicon Macs, but the detected platform is {platform}. "
"Continuing with Apple-silicon settings; pass --nvidia, --amd, --intel-arc, or --cpu if that is not "
"what you want.[/bold yellow]"
)

gpu = None

Expand Down Expand Up @@ -1646,7 +1653,7 @@ def standalone(
app.add_typer(
skill_command.app,
name="skills",
help="Install the bundled comfy agent skills into Claude Code, Cursor, and AGENTS.md.",
help="Install the bundled comfy agent skills into Claude Code, Cursor, Aider, and any AGENTS.md-aware tool.",
)
# Keep the singular alias for backward compat
app.add_typer(skill_command.app, name="skill", hidden=True)
Expand Down
2 changes: 1 addition & 1 deletion comfy_cli/command/custom_nodes/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ def enable_gui():
print("[dim]ComfyUI will launch with: --enable-manager[/dim]")


@manager_app.command("disable-gui", help="Enable ComfyUI-Manager without GUI")
@manager_app.command("disable-gui", help="Enable ComfyUI-Manager but disable its GUI")
@tracking.track_command("node")
def disable_gui():
"""Enable ComfyUI-Manager but disable its GUI."""
Expand Down
4 changes: 2 additions & 2 deletions comfy_cli/command/models/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ def download(
print(f"Done in {_format_elapsed(elapsed)}")


@app.command()
@app.command(help="Remove one or more downloaded models by name or via interactive selection.")
@tracking.track_command("model")
def remove(
ctx: typer.Context,
Expand Down Expand Up @@ -446,7 +446,7 @@ def list_models(path: pathlib.Path) -> list[pathlib.Path]:
return sorted(f for f in path.rglob("*") if f.is_file())


@app.command("list")
@app.command("list", help="List downloaded models in a table.")
@tracking.track_command("model")
def list_command(
ctx: typer.Context,
Expand Down
4 changes: 2 additions & 2 deletions comfy_cli/skills/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def install_cmd(
list[str] | None,
typer.Option(
"--skill",
help="Install only the named skill(s). Repeatable. Default: all 4 bundled skills (see `comfy skills list`).",
help=f"Install only the named skill(s). Repeatable. Default: all {len(BUNDLED_SKILLS)} bundled skills (see `comfy skills list`).",
),
] = None,
dry_run: Annotated[
Expand Down Expand Up @@ -311,7 +311,7 @@ def list_cmd():
def show_cmd(
name: Annotated[
str,
typer.Argument(help="Which bundled skill to print (see `comfy skills list` for all 4)."),
typer.Argument(help=f"Which bundled skill to print (see `comfy skills list` for all {len(BUNDLED_SKILLS)})."),
] = "comfy",
):
renderer = get_renderer()
Expand Down
4 changes: 2 additions & 2 deletions comfy_cli/tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,13 @@ def flush(self) -> None:
app = typer.Typer()


@app.command()
@app.command(help="Enable anonymous usage tracking.")
def enable():
init_tracking(True)
typer.echo("Tracking is now enabled.")


@app.command()
@app.command(help="Disable anonymous usage tracking.")
def disable():
init_tracking(False)
typer.echo("Tracking is now disabled.")
Expand Down
Loading
Loading