mdbook/tests/cli/cmd.rs
2024-08-14 19:09:13 +01:00

8 lines
165 B
Rust

use assert_cmd::Command;
pub(crate) fn mdbook_cmd() -> Command {
let mut cmd = Command::cargo_bin("mdbook").unwrap();
cmd.env_remove("RUST_LOG");
cmd
}