From 5aa9bcb7e92bb344f86ac595ebcf0aa6c80dee9d Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Tue, 28 Apr 2026 17:47:01 +0800 Subject: Add terminal colored rendering and guide text --- mling/res/guide.txt | 20 ++++++++++++++++++++ mling/res/help-mling.txt | 15 +++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 mling/res/guide.txt create mode 100644 mling/res/help-mling.txt (limited to 'mling/res') diff --git a/mling/res/guide.txt b/mling/res/guide.txt new file mode 100644 index 0000000..b1548c8 --- /dev/null +++ b/mling/res/guide.txt @@ -0,0 +1,20 @@ + █ + ███ + ██▒██ ┌────────────────────────────────────┐ + ██▒▒▒██ │ Mingling │ + ██▒ ▒██ │ USE: │ + ███▒ ▒███ │ Run command in your project │ + ███▒▒█████▒▒███ │ > cargo add mingling │ + █████▒ ████ ▒█████ │ ^^^^^^^^ │ + ██████▒▒ █▒ ██ ▒█ ▒███████ │ Or add this to your Cargo.toml │ + █████▒▒▒▒█▒ █▒ ██ ▒█ ▒██▒▒▒▒█████ │ > mingling = "0.1.7" │ + ▒▒▒▒▒ ██ ██ ▒██ ▒▒▒▒▒ └────────────────────────────────────┘ + ▒▒███████████████ ┌────────────────────────────────────┐ + ▒▒▒███▒▒▒▒▒▒▒▒ │ INSTALL TOOLS: │ + ████ │ Run command to install │ + ███▒▒ │ > cargo install mingling-cli │ + ████▒ │ ^^^^^^^^^^^^ │ + ▒▒▒█████ │ Then run command to use │ + ▒▒▒▒▒████ │ > mling --help │ + ▒▒▒█████ └────────────────────────────────────┘ + ▒▒▒▒▒ diff --git a/mling/res/help-mling.txt b/mling/res/help-mling.txt new file mode 100644 index 0000000..4d6fa02 --- /dev/null +++ b/mling/res/help-mling.txt @@ -0,0 +1,15 @@ +**Usage**: mling [COMMAND] + +**COMMANDS** +__ *install* Install programs in a Cargo workspace; **[--clean | -c]** +__ *rm-namespace* Delete a namespace +__ *ls-namespace* List namespaces +__ *set-trust* Set trust for a namespace **[--trusted | -t ]** +__ *trust* Set a namespace as trusted +__ *untrust* Set a namespace as untrusted +__ *show-binaries* List binary programs in the current Cargo workspace +__ *show-target-dir* Show the output directory of the current Cargo workspace +__ *show-workspace-root* Show the root location of the current Cargo workspace + +**OPTIONS** +__ [[b_cyan]]-h, --help[[/]] Print this help message -- cgit