Michael-F-Bryan / mdbook-epub

An experimental mdbook backend for creating EPUB documents.
https://michael-f-bryan.github.io/mdbook-epub/
Mozilla Public License 2.0
351 stars 46 forks source link

Indicate the process is waiting on the standard input #102

Open szabgab opened 1 month ago

szabgab commented 1 month ago

I ran it on https://github.com/rust-lang/book using RUST_LOG=debug mdbook-epub I saw

[2024-05-19T20:57:17Z INFO  mdbook_epub] Booting EPUB generator...
[2024-05-19T20:57:17Z DEBUG mdbook_epub] prepared generator args = Args { standalone: false, root: "." }
[2024-05-19T20:57:17Z DEBUG mdbook_epub] run EPUB book build...
Running mdbook-epub as plugin...

but I did not have the patience to see any more output.

It took me a while, and reading the source code to understand that it was waiting on the standard input.

Maybe this last line should indicate that for the confused users like myself.

blandger commented 1 month ago

I will update the message to make it more clear.

szabgab commented 1 month ago

Thanks. A suggestion: Running mdbook-epub as plugin waiting on the STDIN. If you wanted to process the files in the current folder, use the -s flag

blandger commented 1 month ago

Sure