Crate project_init

source ·
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

Read in files at compile time, making them available no matter what
Module containing functions for rendering templates
This module contains the structs for the configuration files.

Functions

Given a PathBuf, read the .toml file there as a configuration file.
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 a string containing a toml file