From a79c750e9a74558a18f588f155a9da72cf6d639d Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Wed, 10 Jun 2026 18:28:52 +0800 Subject: Update repository URLs to mingling-rs organization --- README.md | 24 ++++++++++++------------ docs/_zh_CN/index.html | 2 +- docs/_zh_CN/pages/1-intro.md | 2 +- docs/doc.html | 2 +- docs/example-viewer.html | 6 ++++-- docs/examples.html | 6 ++++-- index.html | 8 +++++--- mingling/src/lib.rs | 2 +- mingling_core/README.md | 10 +++++----- mingling_macros/README.md | 10 +++++----- 10 files changed, 39 insertions(+), 33 deletions(-) diff --git a/README.md b/README.md index 7fd0f24..08d0251 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

- - Mingling + + Mingling

Mìng Lìng - 命令

@@ -9,14 +9,14 @@ Macro magician in your CLI.

- + - +

@@ -30,22 +30,22 @@ 🤔 What is Mingling? 🤔 -[`Mingling`](https://github.com/catilgrass/mingling) is a **proc-macro and type system-based** Rust CLI framework, suitable for developing complex command-line programs with numerous subcommands. +[`Mingling`](https://github.com/mingling-rs/mingling) is a **proc-macro and type system-based** Rust CLI framework, suitable for developing complex command-line programs with numerous subcommands. > **BTW:** Its name comes from the Chinese Pinyin **"Mìng Lìng"**, meaning **"Command"**. 😄 ### Mingling's Core Capabilities 1. **Separation of Concerns, Clear Logic**: Mingling decouples logic by responsibility, helping you organize your CLI program more clearly. - See example: [Example](https://github.com/catilgrass/mingling/blob/main/examples/example-basic/src/main.rs) + See example: [Example](https://github.com/mingling-rs/mingling/blob/main/examples/example-basic/src/main.rs) 2. **"All Logic is Functions"**: Execution logic, rendering logic, completion logic, help logic — everything is a function. Just attach the corresponding attribute macro to bind them to your program. 3. **Fully Dynamic Completion System**: With the `comp` feature, you can flexibly implement dynamic completion logic for any subcommand. - See examples: [Example](https://github.com/catilgrass/mingling/blob/main/examples/example-completion/src/main.rs) + See examples: [Example](https://github.com/mingling-rs/mingling/blob/main/examples/example-completion/src/main.rs) 4. **Lightning-Fast Subcommand Dispatch**: With the `dispatch_tree` feature, Mingling hardens the subcommand structure into a prefix tree at **compile time**, enabling blazing-fast subcommand lookup. - See examples: [Example](https://github.com/catilgrass/mingling/blob/main/examples/example-dispatch-tree/src/main.rs) + See examples: [Example](https://github.com/mingling-rs/mingling/blob/main/examples/example-dispatch-tree/src/main.rs) 5. **Lightweight Dependencies, On-Demand Importing**: Minimal core dependencies keep builds fast; enhanced features are imported on demand through fine-grained feature flags. 6. **Structured Output**: Enabling the `general_renderer` feature adds support for flags like `--json` and `--yaml`, providing structured output capabilities. - See examples: [Example](https://github.com/catilgrass/mingling/blob/main/examples/example-general-renderer/src/main.rs) + See examples: [Example](https://github.com/mingling-rs/mingling/blob/main/examples/example-general-renderer/src/main.rs)

✍️ Writing with Mingling ✍️ @@ -810,15 +810,15 @@ Add Mingling to your `Cargo.toml`: mingling = "0.2.0" ``` -Or use the [template project](https://github.com/catilgrass/mingling-template): +Or use the [template project](https://github.com/mingling-rs/mingling-template): ```bash -cargo generate --git catilgrass/mingling-template +cargo generate --git mingling-rs/mingling-template ``` Then check out: -- 📖 [Mingling Helpdoc](https://catilgrass.github.io/mingling/) +- 📖 [Mingling Helpdoc](https://mingling-rs.github.io/mingling/) - 📖 [Examples on docs.rs](https://docs.rs/mingling/latest/mingling/_mingling_examples/index.html) - 📖 [Full API docs](https://docs.rs/mingling/latest/mingling/) diff --git a/docs/_zh_CN/index.html b/docs/_zh_CN/index.html index a61fde3..99cff81 100644 --- a/docs/_zh_CN/index.html +++ b/docs/_zh_CN/index.html @@ -48,7 +48,7 @@ name: "Mingling 中文文档", repo: "true", corner: { - url: "https://github.com/catilgrass/mingling", + url: "https://github.com/mingling-rs/mingling", icon: "github", }, auto2top: true, diff --git a/docs/_zh_CN/pages/1-intro.md b/docs/_zh_CN/pages/1-intro.md index 8c5472d..f0294f7 100644 --- a/docs/_zh_CN/pages/1-intro.md +++ b/docs/_zh_CN/pages/1-intro.md @@ -9,7 +9,7 @@ 因为这是一个早期框架,所以尚不成熟。 -若您在使用过程中遇到任何问题,欢迎提交 [Issue](https://github.com/catilgrass/mingling/issues),我们乐意解决。 +若您在使用过程中遇到任何问题,欢迎提交 [Issue](https://github.com/mingling-rs/mingling/issues),我们乐意解决。 ## Mingling 是什么? diff --git a/docs/doc.html b/docs/doc.html index 1e78918..89c6275 100644 --- a/docs/doc.html +++ b/docs/doc.html @@ -43,7 +43,7 @@ name: "Mingling Helpdoc", repo: "true", corner: { - url: "https://github.com/catilgrass/mingling", + url: "https://github.com/mingling-rs/mingling", icon: "github", }, auto2top: true, diff --git a/docs/example-viewer.html b/docs/example-viewer.html index 4eedbd9..cfab8a5 100644 --- a/docs/example-viewer.html +++ b/docs/example-viewer.html @@ -271,7 +271,9 @@ @@ -333,7 +335,7 @@ document.getElementById("exampleName").textContent = exampleName.replace(/^example-/, ""); document.getElementById("githubLink").href = - "https://github.com/catilgrass/mingling/tree/main/examples/" + + "https://github.com/mingling-rs/mingling/tree/main/examples/" + exampleName; // ── Load file list from auto-generated JSON ── diff --git a/docs/examples.html b/docs/examples.html index 47513f2..fe4c1a3 100644 --- a/docs/examples.html +++ b/docs/examples.html @@ -317,7 +317,9 @@