MCPcopy Index your code
hub / github.com/BasicProtein/AugmentCode-Free / print_message

Function print_message

augment_tools_core/common_utils.py:27–32  ·  view source on GitHub ↗

Helper function to print messages with optional color.

(prefix: str, message: str, color_code: str = "")

Source from the content-addressed store, hash-verified

25
26# --- Console Message Functions ---
27def print_message(prefix: str, message: str, color_code: str = "") -> None:
28 """Helper function to print messages with optional color."""
29 if IS_COLORAMA_AVAILABLE and color_code:
30 print(f"{color_code}{prefix}{Style.RESET_ALL} {message}")
31 else:
32 print(f"{prefix} {message}")
33
34def print_info(message: str) -> None:
35 """Prints an informational message (blue if colorama is available)."""

Callers 4

print_infoFunction · 0.85
print_successFunction · 0.85
print_warningFunction · 0.85
print_errorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected