printable-shell-command 0.2.4

A helper library to print shell commands.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use printable_shell_command::{PrintableShellCommand, ShellPrintable};

fn main() {
    assert!(PrintableShellCommand::new("cargo")
        .arg("--version")
        .print_invocation()
        .unwrap()
        .status()
        .unwrap()
        .success());
}