Files
larksuite__cli/cmd/root_help.go
guokexin.02 d04fc017d7 refactor(lint): simplify URL rewrite guard
- Merge the Rewrite-call and resolver-body checks into a single ancestor
  walk (urlRewriteExempt), with import alias resolution factored out.
- Drop the package-scope Rewrite rule: it only caught direct package-level
  calls while indirect init-time rewriting (the real risk shape, e.g.
  rootUsageTemplate) passes through anyway, and it forced root help into
  a function indirection. The build-time re-render is the actual fix for
  stale help URLs.
- Inline the skills setup URL at the Rewrite call site in root help.
2026-09-09 11:30:01 +08:00

6.2 KiB