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

Function print_warning

augment_tools_core/common_utils.py:46–50  ·  view source on GitHub ↗

Prints a warning message (yellow if colorama is available).

(message: str)

Source from the content-addressed store, hash-verified

44 print_message(prefix, message, color)
45
46def print_warning(message: str) -> None:
47 """Prints a warning message (yellow if colorama is available)."""
48 prefix = "[WARNING]"
49 color = Fore.YELLOW if IS_COLORAMA_AVAILABLE else ""
50 print_message(prefix, message, color)
51
52def print_error(message: str) -> None:
53 """Prints an error message (red if colorama is available)."""

Callers 15

safe_delete_fileMethod · 0.85
_windows_force_deleteMethod · 0.85
_create_backupMethod · 0.85
apply_patchMethod · 0.85
clean_vscode_databaseFunction · 0.85
run_all_commandFunction · 0.85
clean_vscode_db_commandFunction · 0.85
kill_processes_commandFunction · 0.85

Calls 1

print_messageFunction · 0.85

Tested by

no test coverage detected