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

Function print_success

unity_cli/cli/output.py:272–284  ·  view source on GitHub ↗

Print success message. Suppressed when quiet mode is active.

(message: str)

Source from the content-addressed store, hash-verified

270
271
272def print_success(message: str) -> None:
273 """Print success message. Suppressed when quiet mode is active."""
274 if _quiet:
275 return
276
277 if console.no_color:
278 print(message)
279 return
280
281 text = Text()
282 text.append("[OK] ", style="bold green")
283 text.append(message)
284 console.print(text)
285
286
287def print_warning(message: str) -> None:

Callers 15

editor_installFunction · 0.90
config_initFunction · 0.90
recorder_startFunction · 0.90
recorder_stopFunction · 0.90
snapshot_saveFunction · 0.90
_print_diff_resultFunction · 0.90
snapshot_deleteFunction · 0.90
tests_runFunction · 0.90
playFunction · 0.90
stopFunction · 0.90

Calls

no outgoing calls

Tested by 3

tests_runFunction · 0.72