MCPcopy Create free account
hub / github.com/FastLED/FastLED / print_toolchain_aliases

Function print_toolchain_aliases

ci/util/build_info_analyzer.py:378–388  ·  view source on GitHub ↗

Print toolchain aliases in a formatted way.

(aliases: dict[str, str], board_name: str)

Source from the content-addressed store, hash-verified

376
377
378def print_toolchain_aliases(aliases: dict[str, str], board_name: str):
379 """Print toolchain aliases in a formatted way."""
380 print(f"\n⚙️ Toolchain Aliases for {board_name.upper()}:")
381 print("=" * 50)
382 for tool, path in aliases.items():
383 if path:
384 # Show just the tool name from the path for readability
385 tool_name = Path(path).name if path else "Not available"
386 print(f" {tool:10}: {tool_name}")
387 else:
388 print(f" {tool:10}: Not available")
389
390
391def print_comparison(comparison: dict[str, Any]):

Callers 1

mainFunction · 0.85

Calls 2

itemsMethod · 0.80
printFunction · 0.50

Tested by

no test coverage detected