Siegfried Goeschl created FREEMARKER-142:
--------------------------------------------

             Summary: [freemarker-cli] Support Transformation Of Directories
                 Key: FREEMARKER-142
                 URL: https://issues.apache.org/jira/browse/FREEMARKER-142
             Project: Apache Freemarker
          Issue Type: Task
            Reporter: Siegfried Goeschl
            Assignee: Siegfried Goeschl


## Overview

Currently ony a single FreeMarker Template can be transformed with a single 
command line invocation - I suggest to add the following functionality

* Transform an input directory recursively into an output directory
* If a template ends with ".ftl" the extension will be removed after processing
* Only a single directory is support
* Currently no inclusion / exlusion pattern for templates are supported

## Examples 

Expand all files found in the `in` directory with environment variables

```
freemarker-cli -m env:/// -t in -o out
freemarker-cli --data-model env:/// --template in --output out
```




--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to