AgentSkillsCN

uloop-clear-console

通过 uloop CLI 清除 Unity 控制台日志。适用于以下场景:(1)在运行测试前清空控制台;(2)开启全新的调试会话;(3)清理日志输出以提高可读性。

SKILL.md
--- frontmatter
name: uloop-clear-console
description: Clear Unity console logs via uloop CLI. Use when you need to: (1) Clear the console before running tests, (2) Start a fresh debugging session, (3) Clean up log output for better readability.

uloop clear-console

Clear Unity console logs.

Usage

bash
uloop clear-console [--add-confirmation-message]

Parameters

ParameterTypeDefaultDescription
--add-confirmation-messagebooleanfalseAdd confirmation message after clearing

Examples

bash
# Clear console
uloop clear-console

# Clear with confirmation
uloop clear-console --add-confirmation-message

Output

Returns JSON confirming the console was cleared.