Skip to content
Merged
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
6 changes: 1 addition & 5 deletions comfy_cli/command/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,17 +159,13 @@ def execute(
skip_requirement: bool = False,
fast_deps: bool = False,
pr: str | None = None,
*args,
**kwargs,
):
"""Install ComfyUI from a given URL."""
# Install ComfyUI from a given PR reference.
if pr:
url = handle_pr_checkout(pr, comfy_path)
version = "nightly"

"""
Install ComfyUI from a given URL.
"""
if not workspace_manager.skip_prompting:
res = ui.prompt_confirm_action(f"Install from {url} to {comfy_path}?", True)

Expand Down
30 changes: 0 additions & 30 deletions comfy_cli/command/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -1389,36 +1389,6 @@ def _cloud_client():
raise typer.Exit(code=1) from e


def _cloud_ls(*, limit: int) -> None:
from comfy_cli.comfy_client import HTTPError

cloud_preflight_or_exit()
renderer = get_renderer()
client = _cloud_client()
try:
jobs = client.list_jobs(limit=limit)
except HTTPError as e:
renderer.error(
code="cloud_http_error",
message=f"Cloud /api/jobs failed (HTTP {e.status}): {e.message}",
details={"status": e.status, "body": e.body[:1000]},
)
raise typer.Exit(code=1)

rows = [_cloud_job_to_row(j) for j in jobs[:limit]]
if renderer.is_pretty():
_render_jobs_pretty(rows, host=client.target.base_url, port=0)
renderer.emit(
{
"base_url": client.target.base_url,
"count": len(rows),
"jobs": [_row_to_dict(r) for r in rows],
},
command="jobs ls",
where="cloud",
)


def _cloud_status_snapshot(prompt_id: str) -> dict | None:
"""Compose a cloud snapshot from /api/jobs/<id> + /api/history_v2/<id>."""
from comfy_cli import jobs_state
Expand Down
1 change: 0 additions & 1 deletion tests/comfy_cli/test_install_python_resolution.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def test_fast_deps_forwards_skip_torch(self, tmp_path):

install.execute(
url="https://github.com/test/test.git",
manager_url="https://github.com/test/manager.git",
comfy_path=repo_dir,
restore=False,
skip_manager=True,
Expand Down
Loading