fix: prefix docs resource shortcuts - #1564
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThree exported CLI shortcut ChangesCover resource command prefix rename
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🚀 PR Preview Install Guide🧰 CLI updatenpm i -g https://pkg.pr.new/larksuite/cli/@larksuite/cli@664881602405dd1bac8a5bab006cbebb10c2b62c🧩 Skill updatenpx skills add ZEden0/cli#fix/docs-resource-shortcut-prefix -y -g |
Summary
Fix the docs resource cover shortcuts so they follow the same
+<verb>shortcut naming convention as otherlark-cli docssubcommands. This aligns the executable command names, help output, and embeddedlark-docskill guidance for cover download/update/delete flows.Changes
resource-download,resource-update, andresource-deleteto+resource-download,+resource-update, and+resource-delete+resource-*command nameslark-docskill guidance, fetch reference, and resource cover reference examples to usedocs +resource-*Test Plan
/usr/local/go/bin/go test ./shortcuts/doc/usr/local/go/bin/go test ./shortcuts/usr/local/go/bin/go test ./internal/skillcontent ./internal/qualitygate/skillscan ./internal/qualitygate/rulesgit diff --check./lark-cliand updatedlark-docskill:docs +resource-downloadfails with typedfailed_preconditionwhen cover is emptydocs +resource-deleteis idempotent when cover is emptydocs +resource-updateuploads cover images and preserves offset fieldsdocs +resource-download --overwritedownloads the updated cover and matches source image SHA-256failed_preconditionRelated Issues
N/A
Summary by CodeRabbit
+resource-*shortcut names for document cover actions.