deckster/handlers/pa_volume/src/main.rs
2024-01-31 01:23:56 +01:00

28 lines
536 B
Rust

use clap::Parser;
use color_eyre::Result;
use crate::handler::Handler;
mod handler;
#[derive(Debug, Parser)]
#[command(name = "pa_volume")]
enum CliCommand {
#[command(about = "Print all currently available entities")]
Entities,
#[command(name = "deckster-run", hide = true)]
Run,
}
fn main() -> Result<()> {
let command = CliCommand::parse();
match command {
CliCommand::Entities => todo!(),
CliCommand::Run => {
deckster_mode::run(Handler::new)?;
}
}
Ok(())
}