From d026b05624df4ab8a0be1c57adeb4947b566902d Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Thu, 6 Aug 2026 17:02:36 +0800 Subject: feat(cli): implement `explain` command and add JSON structural rendering Add a new `explain ` 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. --- mingling_cli/help/help.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mingling_cli/help') diff --git a/mingling_cli/help/help.txt b/mingling_cli/help/help.txt index d5073e6..2089e2b 100644 --- a/mingling_cli/help/help.txt +++ b/mingling_cli/help/help.txt @@ -17,7 +17,7 @@ COMMANDS: ra-lint Run `mling lint` and output the results ra-lint-check Run `mling lint` and `cargo check`, and output the combined results ra-lint-clippy Run `mling lint` and `cargo clippy`, and output the combined results - explain [NOT_IMPL] Explain the meaning of the specified Lint + explain Explain the meaning of the specified Lint PROJECT MANAGE: proj-new [NOT_IMPL] Create a project -- cgit