aboutsummaryrefslogtreecommitdiff
path: root/mingling_cli/src/lib.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-08-07 12:52:46 +0800
committer魏曹先生 <1992414357@qq.com>2026-08-09 02:56:28 +0800
commita80ac42e70c9194db91ebbfe9600db443e88ac5f (patch)
tree0634fba28bb14aaf51d0cc41a7d996ce9433ca90 /mingling_cli/src/lib.rs
parent60174972cd3053d96fc8f99e7b6c91e3b08577c9 (diff)
chore: move CLI entry to bin and restructure imports
Move the CLI binary from `src/main.rs` to `src/bin/cli.rs` and move shared program generation into a new lib.rs module.
Diffstat (limited to 'mingling_cli/src/lib.rs')
-rw-r--r--mingling_cli/src/lib.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/mingling_cli/src/lib.rs b/mingling_cli/src/lib.rs
new file mode 100644
index 0000000..8b25612
--- /dev/null
+++ b/mingling_cli/src/lib.rs
@@ -0,0 +1,13 @@
+use mingling::macros::gen_program;
+
+pub mod diagnostic;
+pub mod errors;
+pub mod linter;
+pub mod lints;
+pub mod message;
+pub mod metadata;
+pub mod pkg_mgr;
+pub mod proj_mgr;
+pub mod utils;
+
+gen_program!();