area:clieffort-mediumenhancementgood first issuehelp wantedpriority:low
倉庫指標
- Star
- (48,085 star)
- PR 合併指標
- (平均合併 11天 1小時) (30 天內合併 45 個 PR)
描述
Summary
Add --openclaw flag to rtk init -g to automatically install the RTK plugin for OpenClaw, following the same pattern as --opencode.
Tasks
- Add
--openclawflag tortk initCLI args - Copy
openclaw/index.ts+openclaw/openclaw.plugin.jsonto~/.openclaw/extensions/rtk-rewrite/ - Add OpenClaw check to
rtk init --checkdiagnostics - Add uninstall support in
rtk init --uninstall
Context
- OpenCode equivalent:
rtk init -g --opencode(already implemented) - OpenClaw plugin: PR #358
- Plugin location:
~/.openclaw/extensions/rtk-rewrite/
Reference
Pattern to follow: run_opencode_only_mode() in src/init.rs