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

Function _exit_usage

unity_cli/cli/helpers.py:46–49  ·  view source on GitHub ↗

Print a validation error and exit with USAGE_ERROR.

(message: str, usage: str)

Source from the content-addressed store, hash-verified

44
45
46def _exit_usage(message: str, usage: str) -> None:
47 """Print a validation error and exit with USAGE_ERROR."""
48 print_validation_error(message, usage)
49 raise typer.Exit(ExitCode.USAGE_ERROR) from None
50
51
52# =============================================================================

Callers 15

uitree_inspectFunction · 0.90
uitree_clickFunction · 0.90
uitree_scrollFunction · 0.90
uitree_textFunction · 0.90
gameobject_findFunction · 0.90
gameobject_modifyFunction · 0.90
gameobject_activeFunction · 0.90
gameobject_deleteFunction · 0.90
scene_loadFunction · 0.90
asset_prefabFunction · 0.90
component_listFunction · 0.90
component_inspectFunction · 0.90

Calls 2

print_validation_errorFunction · 0.90
ExitMethod · 0.80

Tested by

no test coverage detected