use std::path::PathBuf; use clap::{Parser, Subcommand}; // TODO: The description could be better /// A terminal client for the matrix chat protocol #[derive(Parser, Debug)] #[clap(author, version, about, long_about = None)] pub struct Args { #[command(subcommand)] /// The subcommand to execute, default is start pub subcommand: Option, #[clap(value_parser, long, short)] /// Path to the Lua config file, executed instead of the normal one pub lua_config_file: Option, } #[derive(Subcommand, Debug)] pub enum Command { #[clap(value_parser)] /// Starts the main TUI client Start {}, }