From 31dd2cf8e862cd71192869784d3a84849edba636 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/Cargo.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mingling_cli/Cargo.toml') diff --git a/mingling_cli/Cargo.toml b/mingling_cli/Cargo.toml index 2258af2..9581313 100644 --- a/mingling_cli/Cargo.toml +++ b/mingling_cli/Cargo.toml @@ -27,7 +27,8 @@ features = [ "pathf", "dispatch_tree", "async", - "comp" + "comp", + "structural_renderer" ] [build-dependencies.mingling] -- cgit