use std::path::PathBuf; use structopt::StructOpt; #[derive(StructOpt, Debug, Default)] #[structopt(name = "mosaic")] pub struct CliArgs { /// Send "split (direction h == horizontal / v == vertical)" to active mosaic session #[structopt(short, long)] pub split: Option, /// Send "move focused pane" to active mosaic session #[structopt(short, long)] pub move_focus: bool, /// Send "open file in new pane" to active mosaic session #[structopt(short, long)] pub open_file: Option, /// Maximum panes on screen, caution: opening more panes will close old ones #[structopt(long)] pub max_panes: Option, /// Path to a layout yaml file #[structopt(short, long)] pub layout: Option, #[structopt(short, long)] pub debug: bool, }