Skip to main contentCrate system_env
Source - DependencyConfig
- Configuration for one or many system dependencies (packages).
- ListParser
- PackageManagerConfig
- Configuration for a specific package manager vendor.
The fields define commands and arguments for common operations.
- System
- Represents the current system, including architecture, operating system,
and package manager information.
- CommandType
- The types of commands that are currently supported by package managers.
- DependencyName
- A system dependency name in multiple formats.
- Error
- PromptArgument
- The CLI argument format for enabling interactive mode.
- SystemArch
- Architecture of the system environment.
- SystemDependency
- Represents a system dependency (one or many packages) to install.
- SystemLibc
- Libc being used in the system environment.
- SystemOS
- Operating system of the current environment.
- SystemPackageManager
- Package manager of the system environment.
- VersionArgument
- The CLI argument format for including the package version to install.
- find_command_on_path
- Return an absolute path to the provided command by checking
PATH. - is_command_on_path
- Return true if the provided command/program (without extension)
is available on
PATH.