aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/src/linter/cmd_explain.rs
Commit message (Collapse)AuthorAgeFilesLines
* revert: Remove serde and structural renderer support魏曹先生11 hours1-7/+6
|
* refactor(linter): rename LintRegistry to ResLintRegistry魏曹先生11 hours1-4/+4
|
* feat(linter): refactor lint registry into program resource魏曹先生11 hours1-48/+15
| | | | | Extract lint registry loading from cmd_explain into a shared program-level resource initialized via setup.
* refactor(linter): simplify lint explain output formatting魏曹先生11 hours1-4/+2
|
* chore: add shell completion for explain command魏曹先生11 hours1-3/+20
|
* feat(cli): implement `explain` command and add JSON structural rendering魏曹先生11 hours1-0/+123
Add a new `explain <LINT>` command that queries the embedded lint registry (generated by `build.rs`) and displays detailed information about a specifoic lint, including its name, title, summary, active-on target, default setting, and author. Enable the `structural_renderer` feature and add `serde`/`serde_json` dependencies to support JSON output rendering for command results.