mockup
Welcome to Templatte, where crafting configuration files is as delightful as brewing your favorite coffee.
Get ready to savor the flavor of personalized configurations with just a sip:
pip install templatteChoose your brew with finesse. Here's your barista command for a perfect cup:
This command populates configuration template files by parsing the values specified in a templatte.toml file. It likely reads the templatte.toml file to extract key-value pairs and then uses these values to fill in placeholders or templates within configuration files, creating populated configuration files ready for use.
This command searches recursively for any configuration files (specifically TOML files for now) within the workspace. After finding these configuration files, it generates corresponding "latte" files, which could be templates containing placeholders or special markers for values. Additionally, it generates a templatte.toml file containing the values extracted from the original configuration files.
The grind command searches recursively for any "latte" files within the workspace and removes the original configuration files associated with them. This suggests a process where the original configuration files are replaced by their templated versions (latte files), likely to ensure consistency and avoid manual editing of configuration files.
This command deciphers or decrypts the values stored in the templatte.toml file using a passphrase provided as input.
The press command cyphers or encrypts the values within the templatte.toml file using a passphrase. This is a security measure to protect sensitive configuration data. After encryption, the templatte.toml file can be safely stored or transmitted, ensuring the confidentiality of the configuration values.
Unleash the full aroma of BrewConfig at our Roastery. Explore the blend secrets here.
-
genelatte: This command generates "latte" files and atemplatte.tomlfile from existing configuration files found in the workspace. It does not directly depend on the output of any other command, but its output serves as input for thedeployandgrindcommands. -
deploy: This command populates configuration template files by parsing the values specified in thetemplatte.tomlfile generated bygenelatte. It directly depends on the output of thegenelattecommand, specifically thetemplatte.tomlfile and the "latte" files. -
grind: This command removes original configuration files associated with "latte" files found in the workspace. It directly depends on the output of thegenelattecommand, as it operates on the "latte" files generated bygenelatte. -
pour: This command deciphers or decrypts thetemplatte.tomlfile. It depends on the output of thepresscommand as it needs a preciously cyphered file to decipher. -
press: This command cyphers or encrypts thetemplatte.tomlfile. It depends on the output of thegenelattecommand to have atemplatte.tomlfile to encrypt.
Join our coffee circle! Become a brew master with our guide here.
-
Spill: Template grounds lost.
- Clean-Up: Double-check the path and ensure the format is as smooth as your espresso shot.
-
Spill: Unexpected latte art in the output.
- Clean-Up: Confirm the output options; the latte art should be delightful, not unexpected.
For coffee emergencies, reach out to our Head Barista Bean Master.
Templatte is licensed under the Apache-2.0 license.
