use { crate::{ tree::TreeOptions, }, std::{ path::PathBuf, }, }; /// the parsed program launch arguments which are kept for the /// life of the program pub struct AppLaunchArgs { pub root: PathBuf, // what should be the initial root pub file_export_path: Option, // where to write the produced path (if required with --out) - deprecated pub cmd_export_path: Option, // where to write the produced command (if required with --outcmd) pub tree_options: TreeOptions, // initial tree options pub commands: Option, // commands passed as cli argument, still unparsed pub height: Option, // an optional height to replace the screen's one pub color: Option, // whether to display colors and styles pub listen: Option, // if some, broot will start in serve mode on this socket }