aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/help
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-06 17:02:36 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-07 16:57:24 +0800
commitd026b05624df4ab8a0be1c57adeb4947b566902d (patch)
treed39876abe221949b56c8b751c7b075734dbae585 /mingling_cli/help
parentf809e616b4ec51ea981f671507591e213e0f4192 (diff)
feat(cli): implement `explain` command and add JSON structural rendering
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.
Diffstat (limited to 'mingling_cli/help')
-rw-r--r--mingling_cli/help/help.txt2
1 files changed, 1 insertions, 1 deletions
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 <LINT> [NOT_IMPL] Explain the meaning of the specified Lint
+ explain <LINT> Explain the meaning of the specified Lint
PROJECT MANAGE:
proj-new <NAME> [NOT_IMPL] Create a project