Files
maudio-router/src/main.rs
2024-02-15 21:26:09 +09:00

24 lines
381 B
Rust

mod args;
mod audio;
mod commands;
mod config;
mod device;
use clap::Parser;
use crate::args::Cli;
#[tokio::main]
async fn main() {
let cli = Cli::parse();
match cli.command {
args::Commands::Run(run) => {
commands::run::run(run);
}
args::Commands::Device(device) => {
commands::device::device(device);
}
}
}