From 91e847bf873ff2e404554ea7bb97fad7beac0530 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sun, 7 Jun 2026 02:44:32 +0800 Subject: Fix date format padding in version string --- mling/src/helps/mling_help.txt | 18 ++++++++++++------ mling/src/proj_mgr/mod.rs | 3 +++ 2 files changed, 15 insertions(+), 6 deletions(-) (limited to 'mling/src') diff --git a/mling/src/helps/mling_help.txt b/mling/src/helps/mling_help.txt index 64a2f67..ba38439 100644 --- a/mling/src/helps/mling_help.txt +++ b/mling/src/helps/mling_help.txt @@ -3,12 +3,18 @@ Mingling's scaffolding tool [[b_green]]**Usage:**[[/]] [[b_cyan]]**cargo mling**[[/]] [[cyan]][COMMAND] [OPTIONS]...[[/]] [[b_green]]**Options:**[[/]] -__ [[b_cyan]]**-V**[[/]], [[b_cyan]]**--version**[[/]] Print version info and exit -__ [[b_cyan]]**-h**[[/]], [[b_cyan]]**--help**[[/]] Print this help message +__ [[b_cyan]]**-V**[[/]], [[b_cyan]]**--version**[[/]] Print version info and exit +__ [[b_cyan]]**-h**[[/]], [[b_cyan]]**--help**[[/]] Print this help message -__ [[b_cyan]]**--silence**[[/]], [[b_cyan]]**--quiet**[[/]] Suppress all output -__ [[b_cyan]]**--no-error**[[/]] Suppress error output -__ [[b_cyan]]**--no-result**[[/]] Suppress result output +__ [[b_cyan]]**-P**[[/]], [[b_cyan]]**--manifest-path**[[/]] Path to _Cargo.toml_ + +__ [[b_cyan]]**--silence**[[/]], [[b_cyan]]**--quiet**[[/]] Suppress all output +__ [[b_cyan]]**--no-error**[[/]] Suppress error output +__ [[b_cyan]]**--no-result**[[/]] Suppress result output [[b_green]]**Commands:**[[/]] -__ [[b_cyan]]**install**[[/]] Install +__ [[b_cyan]]**install**[[/]] Install current project into +__ the **mling** package manager +__ [[b_cyan]]**ls**[[/]], [[b_cyan]]**add**[[/]], [[b_cyan]]**rm**[[/]] List, add, or remove something + +Run \`[[b_cyan]]**cargo help mling**[[/]]\` for more detailed information. diff --git a/mling/src/proj_mgr/mod.rs b/mling/src/proj_mgr/mod.rs index 86c05e3..ebc47a6 100644 --- a/mling/src/proj_mgr/mod.rs +++ b/mling/src/proj_mgr/mod.rs @@ -1,3 +1,6 @@ use mingling::macros::dispatcher; dispatcher!("install"); + +dispatcher!("ls.namespace"); +dispatcher!("rm.namespace"); -- cgit