From 6bfb11078f33372b6d6d2981dff866a0b3572891 Mon Sep 17 00:00:00 2001 From: Maverick Liu Date: Sun, 23 Feb 2025 18:03:35 +0800 Subject: [PATCH] adjust cli --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/main.rs | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ed93dd9..770d9dd 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -192,7 +192,7 @@ dependencies = [ [[package]] name = "epub2mdbook" -version = "0.12.0" +version = "0.13.0" dependencies = [ "clap", "epub", diff --git a/Cargo.toml b/Cargo.toml index 218cda3..b18a195 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "epub2mdbook" -version = "0.12.0" +version = "0.13.0" edition = "2024" description = "A tool to convert EPUB files to MDBook format" authors = ["Maverick Liu "] diff --git a/src/main.rs b/src/main.rs index d4b009b..77ac6d2 100644 --- a/src/main.rs +++ b/src/main.rs @@ -6,9 +6,8 @@ use epub2mdbook::{convert_epub_to_mdbook, error::Error}; #[derive(Parser)] struct Args { /// The path to the input EPUB file - #[clap(short, long)] input_epub: PathBuf, - /// The path to the output directory, working directory by default + /// The path to the output directory #[clap(short, long, default_value = ".")] output_dir: PathBuf, }