aboutsummaryrefslogtreecommitdiff
path: root/src/cli/dispatchers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli/dispatchers.rs')
-rw-r--r--src/cli/dispatchers.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/cli/dispatchers.rs b/src/cli/dispatchers.rs
new file mode 100644
index 0000000..27b7747
--- /dev/null
+++ b/src/cli/dispatchers.rs
@@ -0,0 +1,12 @@
+use mingling::{Program, macros::program_setup};
+
+use crate::ThisProgram;
+use crate::cli::ops_cmd::{CreateCommand, InitHereCommand};
+
+#[program_setup]
+pub fn chaos_billing_setup(program: &mut Program<ThisProgram, ThisProgram>) {
+ program.with_dispatcher(InitHereCommand);
+ program.with_dispatcher(CreateCommand);
+
+ // program.with_dispatcher(CalculateCommand);
+}