aboutsummaryrefslogtreecommitdiff
path: root/src/cli/entry.rs
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-04-16 23:24:52 +0800
committer魏曹先生 <1992414357@qq.com>2026-04-16 23:24:52 +0800
commit6e36fc3707e791c3c748133d648957706b54fd3a (patch)
tree3851ed69d60f331a803a6c19c97a56829a11f2f5 /src/cli/entry.rs
parent363fbc6e98f832471a17a10ec18e8823df6a2ed5 (diff)
Add CLI commands for bill management and persistence
Diffstat (limited to 'src/cli/entry.rs')
-rw-r--r--src/cli/entry.rs21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/cli/entry.rs b/src/cli/entry.rs
deleted file mode 100644
index e68b7b4..0000000
--- a/src/cli/entry.rs
+++ /dev/null
@@ -1,21 +0,0 @@
-use mingling::setup::GeneralRendererSetup;
-
-use crate::__completion_gen::CompletionDispatcher;
-use crate::ThisProgram;
-use crate::cli::dispatchers::*;
-
-pub async fn entry() {
- let mut program = ThisProgram::new();
-
- // Add Completion
- program.with_dispatcher(CompletionDispatcher);
-
- // Add General Renderer
- program.with_setup(GeneralRendererSetup);
-
- // Setup `cobill`
- program.with_setup(ChaosBillingSetup);
-
- // Execute
- program.exec().await;
-}