Expand description
This library provides the functions/structs/methods used by the main binary. They are included here in the hopes that they can be illuminating to users.
Modules§
- includes
- Read in files at compile time, making them available no matter what
- render
- Module containing functions for rendering templates
- repo
- types
- This module contains the structs for the configuration files.
Functions§
- init_
helper - read_
toml_ config - Given a
PathBuf
, read the .toml file there as a configuration file. - read_
toml_ dir - Given a filepath, read the .toml file there as containing the
directories/templates.
If no such file is found, read from global template directory in
$HOME/.pi_templates/
. - read_
toml_ str - Read a string containing a toml file