Expand description
§Kickstart
kickstart
is a framework to generate projects based on templates.
It is available as a library in case you want to use it in your own program and as a CLI.
See the kickstart binary
for an example on how to use the library.
Modules§
Structs§
- Cleanup
- A list of paths to be deleted when
name
hasvalue
- Condition
- A condition for a question to be asked If the value is different or not found, the question should not be asked. Use [Template::should_ask_variable] rather than handling that yourself
- Hook
- A hook is a file that will get executed
- Hook
File - Contains information about a given hook: what’s the original path and what’s the path to the templated version
- Template
- The current template being generated. This is what you will end up interacting the most as a library.
- Template
Definition - The full template struct we get fom loading a TOML file
- Variable
- A question loaded from TOML
Enums§
- Value
- The possible values we can get from the default or from a user