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() {
    let _ = PrintableShellCommand::new("ffmpeg")
        .args(["-i", "./test/My video.mp4"])
        .args(["-filter:v", "setpts=2.0*PTS"])
        .args(["-filter:a", "atempo=0.5"])
        .arg("./test/My video (slow-mo).mov")
        .print_invocation()
        .unwrap();
}