Structs
- It’s a command, with a name
- Holds a the
Output
of a command’s execution along with it’s “name”
Enums
- Who says (
Command
) errors can’t be fun?
Traits
- For a quick and easy fun run you can use the
fun_run::CommandWithName
trait extension to stream output:
Functions
- Converts a command and its arguments into a user readable string
- Converts a command, arguments, and specified environment variables to user readable string
- Converts an
Output
into an error when status is non-zero - Converts an
Output
into an error when status is non-zero - Converts a
std::io::Error
into aCmdError
which includes the formatted command name