MCPcopy Create free account
hub / github.com/OpenRaiser/NanoResearch / _cli_progress

Function _cli_progress

nanoresearch/cli.py:354–363  ·  view source on GitHub ↗

Shared progress callback for CLI pipeline commands.

(stage: str, status: str, message: str)

Source from the content-addressed store, hash-verified

352
353
354def _cli_progress(stage: str, status: str, message: str) -> None:
355 """Shared progress callback for CLI pipeline commands."""
356 icons = {
357 "started": "[cyan]>>>[/cyan]",
358 "completed": "[green] OK[/green]",
359 "skipped": "[dim] --[/dim]",
360 "retrying": "[yellow] !![/yellow]",
361 "failed": "[red]ERR[/red]",
362 }
363 console.print(f" {icons.get(status, ' ')} {message}")
364
365
366def _prompt_with_default(label: str, default: str) -> str:

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected