Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command line flag to provide the path to the output epub file #112

Open
szabgab opened this issue May 20, 2024 · 2 comments
Open

Add command line flag to provide the path to the output epub file #112

szabgab opened this issue May 20, 2024 · 2 comments

Comments

@szabgab
Copy link
Contributor

szabgab commented May 20, 2024

e.g. --epub path/to/book.epub as in:

mdbook-epub -s true  ../book-source/ --epub path/to/book.epub

IMHO It would be easier than changing the book.toml file and also it would allow putting the output file in a totally different place.

@blandger
Copy link
Collaborator

Do we need separate 'output path' and 'file name' params?
Or better make one param like 'output path with file name' instead?

@NuLL3rr0r
Copy link

IMHO, separation might give the user more control. Sometimes you'd like to just specify the output path and do not care about the file name. Sometimes you're fine with the default path and just want to change the filename. Or, if you feel the need both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants