MCPcopy Create free account
hub / github.com/RightNow-AI/rightnow-cli / print_status

Method print_status

rightnow_cli/utils/detection.py:909–933  ·  view source on GitHub ↗

Print detection status (for debugging).

(self)

Source from the content-addressed store, hash-verified

907 }
908
909 def print_status(self):
910 """Print detection status (for debugging)."""
911 tools = self.get_all_tools()
912
913 print(f"\n{'='*70}")
914 print(f" CUDA Toolchain Detection - {self.platform}")
915 print(f"{'='*70}\n")
916
917 for name, info in tools.items():
918 # Use ASCII-safe characters for Windows compatibility
919 status = '[OK]' if info.available else '[NO]'
920 color = '\033[32m' if info.available else '\033[31m'
921 reset = '\033[0m'
922
923 print(f"{color}{status}{reset} {name.upper():<15}", end='')
924
925 if info.available:
926 print(f" {info.version or 'Unknown version'}")
927 print(f"{'':20} {info.path}")
928 else:
929 print(f" Not found")
930 if info.error:
931 print(f"{'':20} {info.error}")
932
933 print()
934
935
936# ============================================================================

Callers 1

print_detection_statusFunction · 0.80

Calls 1

get_all_toolsMethod · 0.95

Tested by

no test coverage detected