Struct cradle::LogCommand [−][src]
pub struct LogCommand;
Expand description
See the CmdArgument
implementation for LogCommand
below.
Trait Implementations
Passing in LogCommand
as an argument to cmd!
will cause it
to log the commands (including all arguments) to stderr
.
(This is similar bash
’s -x
option.)
use cradle::*; cmd_unit!(LogCommand, %"echo foo"); // writes '+ echo foo' to stderr
Auto Trait Implementations
impl RefUnwindSafe for LogCommand
impl Send for LogCommand
impl Sync for LogCommand
impl Unpin for LogCommand
impl UnwindSafe for LogCommand
Blanket Implementations
Mutably borrows from an owned value. Read more