blob: c4dfe21c09097562fac61f55834d81384554ceb3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
use mingling::{macros::gen_program, setup::BasicProgramSetup};
mod add_dispatcher;
pub use crate::add_dispatcher::*;
#[tokio::main]
async fn main() {
let mut program = MinglingCLI::new();
program.with_setup(BasicProgramSetup);
program.with_dispatcher(AddDispatcherCommand);
let render_result = program.exec_without_render().await.unwrap();
println!("{}", render_result);
}
gen_program!(MinglingCLI);
|