Wipe the Unity Console (same as clicking 'Clear' in the Console window).
(ctx: typer.Context)
| 159 | |
| 160 | @console_app.command("clear") |
| 161 | def console_clear(ctx: typer.Context) -> None: |
| 162 | """Wipe the Unity Console (same as clicking 'Clear' in the Console window).""" |
| 163 | context: CLIContext = ctx.obj |
| 164 | try: |
| 165 | context.client.console.clear() |
| 166 | print_success("Console cleared") |
| 167 | except UnityCLIError as e: |
| 168 | _handle_error(e) |
nothing calls this directly
no test coverage detected