From 282fbc584554bc7db4d06e603cd05961ee2f060f Mon Sep 17 00:00:00 2001 From: Canop Date: Wed, 15 Jun 2022 07:47:48 +0200 Subject: use clap derive for arguments --- src/cli/app_launch_args.rs | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 src/cli/app_launch_args.rs (limited to 'src/cli/app_launch_args.rs') diff --git a/src/cli/app_launch_args.rs b/src/cli/app_launch_args.rs deleted file mode 100644 index 03b25ae..0000000 --- a/src/cli/app_launch_args.rs +++ /dev/null @@ -1,22 +0,0 @@ -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 -} -- cgit v1.2.3