aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/help/help.txt
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-04 20:33:11 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-09 02:56:28 +0800
commit54e5b7627c47bdc35fa976ea2883544cebcbb06a (patch)
treed2913211dd5bbe697cfb36f474e6bc408ac2e823 /mingling_cli/help/help.txt
parent537b4f53bb929fb35e1f7d412e587ffb519cc089 (diff)
docs: add help text for CLI commands and descriptions
Add help text for global flags, commands, and subcommands in help.txt. Add metadata descriptions for linter and metadata commands.
Diffstat (limited to 'mingling_cli/help/help.txt')
-rw-r--r--mingling_cli/help/help.txt27
1 files changed, 27 insertions, 0 deletions
diff --git a/mingling_cli/help/help.txt b/mingling_cli/help/help.txt
index 85a4fb7..d5073e6 100644
--- a/mingling_cli/help/help.txt
+++ b/mingling_cli/help/help.txt
@@ -1,3 +1,30 @@
USAGE: mling [GLOBAL_FLAGS] [COMMAND] [ARGS...]
GLOBAL_FLAGS:
+ --all-features Enable all features
+ --features <FEATURES> List of features to enable
+ -h, --help Show help messages
+ --manifest-path <PATH> Custom path to Cargo.toml
+ --message-format <FORMAT> Output message format
+ --no-default-features Disable default features
+ --no-deps Do not include dependencies in metadata
+
+COMMANDS:
+ metadata Check your workspace metadata using 'cargo metadata'
+
+ LINTER:
+ lint Mingling Linter
+ 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
+
+ PROJECT MANAGE:
+ proj-new <NAME> [NOT_IMPL] Create a project
+ proj-init [NOT_IMPL] Initialize a project
+
+ PACKAGE MANAGE:
+ install [NOT_IMPL] Install the project to the Mingling package list
+ package-show [NOT_IMPL] Show locally installed packages
+ package-enable <NAME> [NOT_IMPL] Enable the specified package
+ package-disable <NAME> [NOT_IMPL] Disable the specified package