Crate cmd_lib_macros
source ·Macros§
- Log a fatal message at the error level, and exit process.
- Run commands, returning
CmdResult
to check status. - Run commands, returning
FunResult
to capture output and to check status. - Run commands with/without pipes as a child process, returning
CmdChildren
result. - Run commands with/without pipes as a child process, returning
FunChildren
result. - Import user registered custom command.
Attribute Macros§
- Mark main function to log error result by default.