hte-cli 0.1.22__tar.gz → 0.1.23__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {hte_cli-0.1.22 → hte_cli-0.1.23}/PKG-INFO +1 -1
- {hte_cli-0.1.22 → hte_cli-0.1.23}/pyproject.toml +1 -1
- {hte_cli-0.1.22 → hte_cli-0.1.23}/src/hte_cli/cli.py +10 -17
- {hte_cli-0.1.22 → hte_cli-0.1.23}/.gitignore +0 -0
- {hte_cli-0.1.22 → hte_cli-0.1.23}/README.md +0 -0
- {hte_cli-0.1.22 → hte_cli-0.1.23}/src/hte_cli/__init__.py +0 -0
- {hte_cli-0.1.22 → hte_cli-0.1.23}/src/hte_cli/__main__.py +0 -0
- {hte_cli-0.1.22 → hte_cli-0.1.23}/src/hte_cli/api_client.py +0 -0
- {hte_cli-0.1.22 → hte_cli-0.1.23}/src/hte_cli/config.py +0 -0
- {hte_cli-0.1.22 → hte_cli-0.1.23}/src/hte_cli/errors.py +0 -0
- {hte_cli-0.1.22 → hte_cli-0.1.23}/src/hte_cli/events.py +0 -0
- {hte_cli-0.1.22 → hte_cli-0.1.23}/src/hte_cli/runner.py +0 -0
- {hte_cli-0.1.22 → hte_cli-0.1.23}/src/hte_cli/version_check.py +0 -0
- {hte_cli-0.1.22 → hte_cli-0.1.23}/uv.lock +0 -0
|
@@ -499,30 +499,23 @@ def tasks_run(ctx, task_id: str | None):
|
|
|
499
499
|
results.append((img, True, "cached"))
|
|
500
500
|
continue
|
|
501
501
|
|
|
502
|
-
# Need to pull -
|
|
503
|
-
console.print(f" [yellow]↓[/yellow] {short_name} [dim]pulling...[/dim]", end="")
|
|
504
|
-
|
|
505
|
-
# Clear the line and show progress updates
|
|
502
|
+
# Need to pull - use Rich Status for live updates
|
|
506
503
|
image_layers[img] = {}
|
|
507
|
-
last_summary = ""
|
|
508
504
|
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
# Clear line and rewrite
|
|
515
|
-
console.print(f"\r [yellow]↓[/yellow] {short_name} [dim]{summary}[/dim]" + " " * 20, end="")
|
|
516
|
-
last_summary = summary
|
|
505
|
+
with console.status(f"[yellow]↓[/yellow] {short_name} [dim]connecting...[/dim]") as status:
|
|
506
|
+
def show_progress(image: str, line: str):
|
|
507
|
+
on_image_progress(image, line)
|
|
508
|
+
summary = get_progress_summary(image)
|
|
509
|
+
status.update(f"[yellow]↓[/yellow] {short_name} [dim]{summary}[/dim]")
|
|
517
510
|
|
|
518
|
-
|
|
511
|
+
success = pull_image_with_progress(img, on_progress=show_progress)
|
|
519
512
|
|
|
520
|
-
# Final status
|
|
513
|
+
# Final status (printed after status context exits)
|
|
521
514
|
if success:
|
|
522
|
-
console.print(f"
|
|
515
|
+
console.print(f" [green]✓[/green] {short_name} [dim](downloaded)[/dim]")
|
|
523
516
|
results.append((img, True, "pulled"))
|
|
524
517
|
else:
|
|
525
|
-
console.print(f"
|
|
518
|
+
console.print(f" [red]✗[/red] {short_name} [dim](failed)[/dim]")
|
|
526
519
|
results.append((img, False, "failed"))
|
|
527
520
|
|
|
528
521
|
failed = sum(1 for _, ok, _ in results if not ok)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|