cli: add --show-io-errors and `--no-server to export cmd

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ib3b3818fbd7902678c3a4cecc079f8fb6a6a6964
This commit is contained in:
raf 2026-02-07 13:25:50 +03:00
commit 7187b3289f
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

View file

@ -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("."));