confgen
confgen copied to clipboard
Configuration file generator (confgen) – an easy way to generate structured (configuration) files on the fly by processing a Twig template and an arbitrary input data structure.
This ticket is referencing the work done by @clue in https://github.com/reactphp/socket/pull/290. A global error handler may interrupt our code flow and unset the error reported to us (https://github.com/reactphp/socket/issues/286). The future...
http://twig.sensiolabs.org/doc/tags/autoescape.html
It's a common use case to skip some templates if a certain precondition is met (such as "is this running in a Docker container?" etc.). As such, we should add...
The confgen "configuration definition" has repeatedly confused people and has attracted some low quality solutions in the past. As such, it will be removed in the future milestone and will...
Passing the `-t` option multiple times should be supported: ``` bash $ confgen -t nginx.conf.twig -t php-fpm.conf.twig -d data.json ```
confgen should be more verbose by default. We should also add some CLI options to configure the verbosity.
The `Twig_Error_Syntax::getTemplateLine()` method should return the correct line in the template. This does work for simple templates with no YAML front matter. For files with a YAML front matter, it...