Expand description
Environment handlers.
This module contains handlers for various environments. Generally a handler is characterized by the presence of the following public functions within its submodule:
detect
to find out if this is the current execution environment (where the command wasn’t found)find
to see if a certain command exists in this execution environmenthandle
to kick off the chain to look a certain command up from inside this environmentexecute
to und a command in this environment
Especially the latter function isn’t
Modules§
- container
- distrobox
- Distrobox Environment Handler.
- host
- Host Environment Handler.
- toolbx
- Toolbx Environment Handler.
Structs§
Enums§
- Environment
- All the execution environments known to the applicaiton.
- Error
- Execution
Error - Common errors from command execution.
- Start
Error
Traits§
- IsEnvironment
- Trait for usable environments.
Functions§
- current
- Return the current execution environment.
- read_
env_ vars - Preserve the users environments.