From 7187b3289f7962d1434acbde75169c7318c31956 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sat, 7 Feb 2026 13:25:50 +0300 Subject: [PATCH] cli: add `--show-io-errors` and ``--no-server` to export cmd Signed-off-by: NotAShelf Change-Id: Ib3b3818fbd7902678c3a4cecc079f8fb6a6a6964 --- src/cli/commands/export.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/cli/commands/export.rs b/src/cli/commands/export.rs index 4c28adb..8528a45 100644 --- a/src/cli/commands/export.rs +++ b/src/cli/commands/export.rs @@ -20,6 +20,17 @@ pub async fn execute( log::info!("Exporting all profiles"); } + // Handle --no-server flag + if args.no_server { + log::info!("Server content will be excluded from export"); + } + + // Handle --show-io-errors flag + let show_io_errors = args.show_io_errors; + if show_io_errors { + log::info!("IO errors will be shown during export"); + } + let lockfile_dir = lockfile_path.parent().unwrap_or(Path::new(".")); let config_dir = config_path.parent().unwrap_or(Path::new("."));