From a57a8389a76cdbba3b9fc79c2d521d2beb2751cb Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Sat, 11 Apr 2026 20:59:52 +0800 Subject: Add project branding and update README structure - Add project icon and badges to README - Update crate description to "The Rust CLI Framework" - Add table of contents and improve section organization - Move guide.txt to resources directory and update version reference - Add example-completion Cargo.lock for new example - Remove unused main.rs file --- README.md | 39 ++++++++++++++++++++++++++++++++++++--- 1 file changed, 36 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index b784d8d..7c12b0b 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,41 @@ -# Mìng Lìng - 命令 +

+ + Mingling + +

+

Mìng Lìng - 命令

+ +

+ The Rust CLI Framework +

+

+ + + + + + + + +

> [!WARNING] > > **Note**: Mingling is still under active development, and its API may change. Feel free to try it out and give us feedback! +> **Hint**: This note will be removed in version `0.2.0` + +## Contents + +- [Intro](#intro) +- [Quick Start](#quick-start) +- [Core Concepts](#core-concepts) +- [Project Structure](#project-structure) +- [Example Projects](#example-projects) +- [Next Steps](#next-steps) +- [Roadmap](#roadmap) +- [License](#license) + +## Intro `Mingling` is a Rust command-line framework. Its name comes from the Chinese Pinyin for "命令", which means "Command". @@ -71,7 +104,7 @@ The Mingling project consists of two main parts: - **[mingling/](mingling/)** - The core runtime library, containing type definitions, error handling, and basic functionality. - **[mingling_macros/](mingling_macros/)** - The procedural macro library, providing declarative macros to simplify development. -Example Projects +## Example Projects - **[`examples/example-basic/`](examples/example-basic/src/main.rs)** - A simple "Hello, World!" example demonstrating the most basic usage of a Dispatcher and Renderer. - **[`examples/example-picker/`](examples/example-picker/src/main.rs)** - Demonstrates how to use a Chain to process and transform command arguments. @@ -89,7 +122,7 @@ You can read the following docs to learn more about the `Mingling` framework: - [ ] core: \[**unplanned**\] Parallel Chains - [x] core: \[[0.1.4](https://docs.rs/mingling/0.1.4/mingling/)\] General Renderers *( Json, Yaml, Toml, Ron )* -- [x] core: \[**0.1.5**\] Completion *( Bash Zsh Fish Pwsl )* +- [x] core: \[**0.1.5**\] Completion *( Bash Zsh Fish Pwsl )* **\[unreleased\]** - [ ] \[**unplanned**\] Helpdoc - [ ] \[**unplanned**\] Parser Theme - [ ] ... -- cgit