name: tauri-app-cli description: Guidance for Tauri v2 CLI plugin with argument schema and app command routing. license: Complete terms in LICENSE.txt
When to use this skill
ALWAYS use this skill when the user mentions:
- CLI arguments for a Tauri app / Tauri 应用的命令行参数
- Schema-based argument parsing / 基于 schema 的参数解析
- Triggering app behaviors from CLI / CLI 触发应用行为
Trigger phrases include:
- "cli", "arguments", "schema", "command routing"
- "命令行", "参数", "schema", "命令路由"
How to use this skill
- Define the CLI argument schema and command map
- Configure CLI plugin capabilities and parsing
- Route startup and second-launch arguments to the app
- Validate CLI behaviors with single-instance mode
Outputs
- CLI schema and routing plan / CLI schema 与路由方案
- Second-launch integration checklist / 二次启动集成清单
Scope
- Boundary: CLI plugin usage only
- Key points: Schema definition and argument routing
References
Keywords
tauri cli, arguments, schema, command routing