https://github.com/saghul/jcfg
Jinja templates for your configuration files
https://github.com/saghul/jcfg
Last synced: over 1 year ago
JSON representation
Jinja templates for your configuration files
- Host: GitHub
- URL: https://github.com/saghul/jcfg
- Owner: saghul
- Created: 2013-10-12T01:48:40.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2013-10-12T01:54:33.000Z (almost 13 years ago)
- Last Synced: 2025-02-13T06:46:47.234Z (over 1 year ago)
- Language: Python
- Size: 102 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
jcfg: jinja templates for your configuration files
==================================================
Overview
--------
**jcfg** is a simple script which uses `Jinja `_ templates to generate
configuration files. My motivation was to replace some no-so-good-looking M4 configuration files
with something that was more friendly to use.
Usage
-----
::
jcfg --input template_file --output out_file.cfg --context settings.py
The file passed as the content must be a valid Python module, with an attribute called "context".
Author
------
Saúl Ibarra Corretgé
License
-------
Unless stated otherwise on-file jcfg uses the MIT license, check the LICENSE file.
Contributing
------------
If you'd like to contribute, fork the project, make a patch and send a pull
request. Have a look at the surrounding code and please, make yours look
alike :-) If you intend to contribute a new feature please contact the maintainer
beforehand in order to discuss the design.