Looks like a clap issue with the parser. Ubuntu, brand new mdbook. Let me know if I can help debug any further.
❯ RUST_BACKTRACE=1 mdbook-mermaid install
thread 'main' panicked at 'Mismatch between definition and access of `dir`. Could not downcast to TypeId { t: 15292486789451704417 }, need to downcast to TypeId { t: 17816034824169992944 }
', /home/josephguhlin/.cargo/registry/src/github.com-1ecc6299db9ec823/clap-4.0.29/src/parser/error.rs:30:9
stack backtrace:
0: rust_begin_unwind
at /rustc/b70baa4f922a1809d79caeaeb902800c3be283b9/library/std/src/panicking.rs:575:5
1: core::panicking::panic_fmt
at /rustc/b70baa4f922a1809d79caeaeb902800c3be283b9/library/core/src/panicking.rs:64:14
2: clap::parser::matches::arg_matches::ArgMatches::get_one
3: mdbook_mermaid::handle_install
4: mdbook_mermaid::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Looks like a clap issue with the parser. Ubuntu, brand new mdbook. Let me know if I can help debug any further.