MCPcopy Create free account
hub / github.com/bigdra50/unity-cli / print_validation_error

Function print_validation_error

unity_cli/cli/output.py:262–269  ·  view source on GitHub ↗

Print validation error with --help guidance. Args: message: Error message help_command: Command to show help for (e.g., "u scene load")

(message: str, help_command: str)

Source from the content-addressed store, hash-verified

260
261
262def print_validation_error(message: str, help_command: str) -> None:
263 """Print validation error with --help guidance.
264
265 Args:
266 message: Error message
267 help_command: Command to show help for (e.g., "u scene load")
268 """
269 print_error(f"{message}. Run '{help_command} --help' for usage.")
270
271
272def print_success(message: str) -> None:

Callers 1

_exit_usageFunction · 0.90

Calls 1

print_errorFunction · 0.85

Tested by

no test coverage detected