[ 
https://issues.apache.org/jira/browse/FREEMARKER-142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siegfried Goeschl updated FREEMARKER-142:
-----------------------------------------
    Description: 
h2. 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

h2.  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
```


  was:
## 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
```



> [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
>            Priority: Major
>
> h2. 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
> h2.  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