aboutsummaryrefslogtreecommitdiff
path: root/docs/pages/2-basic.md
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-04-14 22:47:08 +0800
committer魏曹先生 <1992414357@qq.com>2026-04-14 22:47:08 +0800
commitb9edeb9848e4a423e133fa2a13dede6d128d6f08 (patch)
treef8f9e03bf3e64b98f3e5de57fd5d0686bf4739b2 /docs/pages/2-basic.md
parentde54d14f315c96a1003b8956086828fc75ddf49d (diff)
Add documentation for Mingling CLI framework
Diffstat (limited to 'docs/pages/2-basic.md')
-rw-r--r--docs/pages/2-basic.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/pages/2-basic.md b/docs/pages/2-basic.md
new file mode 100644
index 0000000..78d2fda
--- /dev/null
+++ b/docs/pages/2-basic.md
@@ -0,0 +1,16 @@
+<h1 align="center">Mingling's Basic Components</h1>
+<p align="center">
+ Table of Contents
+</p>
+
+---
+
+Mingling abstracts the lifecycle of a CLI program into the following types:
+
+| Component | Description |
+| :--- | :--- |
+| [Program](./pages/2-basic/1-program) | Records resources for the current context |
+| [Setup](./pages/2-basic/2-setup) | Bundles commonly used functionalities |
+| [Dispatcher](./pages/2-basic/3-dispatcher) | Dispatches user input to specific types |
+| [Chain](./pages/2-basic/4-chain) | Handles type conversion |
+| [Renderer](./pages/2-basic/5-renderer) | Handles type rendering |