Crate cmd_lib_cf_macros

Source

Macros§

cmd_debug
Logs a message at the debug level with interpolation support
cmd_die
Logs a fatal message at the error level, and exit process
cmd_echo
Print a message to stdout with interpolation support
cmd_error
Logs a message at the error level with interpolation support
cmd_info
Logs a message at the info level with interpolation support
cmd_trace
Logs a message at the trace level with interpolation support
cmd_warn
Logs a message at the warn level with interpolation support
run_cmd
Run commands, returning result handle to check status
run_fun
Run commands, returning result handle to capture output and to check status
spawn
Run commands with/without pipes as a child process, returning a handle to check the final result
spawn_with_output
Run commands with/without pipes as a child process, returning a handle to capture the final output
use_builtin_cmd
import library predefined builtin command
use_custom_cmd
import user registered custom command

Attribute Macros§

export_cmd
export the function as an command to be run by run_cmd! or run_fun!