ipchat 0.0.0

Chat solution for local networks based on WLAN and Router's IP Addresses
Documentation
mod command;

use self::command::Command;

use clap::Parser;

#[derive(Debug, Parser)]
pub struct Cli {
    #[command(subcommand)]
    command: Command,
}

impl Cli {
    pub async fn run(self) -> anyhow::Result<()> {
        match self.command {
            Command::Start(cmd) => cmd.exec().await,
        }
    }
}