cli-battery-pack 0.6.2

Battery pack for building CLI applications in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use snapbox::cmd::Command;
use snapbox::file;

#[test]
fn help() {
    Command::cargo_bin("{{ project_name }}")
        .env("CLICOLOR_FORCE", "1")
        .arg("--help")
        .assert()
        .stdout_eq(file![_])
        .stderr_eq("");
}