scripty 0.3.3

Scripty - your Rust command toolkit for easy command execution and file operations
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Macros for convenient command creation.

/// Macro to create a new command.
#[macro_export]
macro_rules! cmd {
    ($program:expr) => {
        $crate::Cmd::new($program)
    };
    ($program:expr, $($arg:expr),* $(,)?) => {
        $crate::Cmd::new($program)$(.arg($arg))*
    };
}