Crate libginst

Source
Expand description

libginst is a library with the core ginst functionality.

Click on the modules below to get more information about them!

§Usage

As of now you only need to parse the config file the user provided via the parser method

parser::get_programs_from_file(path: &str)

That function will return a list of Program structs which have install and configure functions.

Modules§

distro
Util functions to differentiate between linux distributions.
executor
Struct and functions that execute instructions.
package_manager
Package Management trait and managers
parser
Parser functions to read and parse config files.
program
Structs representing programs and functions for common operations.
types
Different traits used throughout the program.