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

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