Siegfried Goeschl created FREEMARKER-141:
--------------------------------------------

             Summary: freemarker-cli: Expose user-supplied parameters in the 
data model
                 Key: FREEMARKER-141
                 URL: https://issues.apache.org/jira/browse/FREEMARKER-141
             Project: Apache Freemarker
          Issue Type: Task
            Reporter: Siegfried Goeschl
            Assignee: Siegfried Goeschl


Currently user-supplied parameters are passed as "-Pname=value" and are not 
directly accessible from the provide data model (only via SystemTool)

We would like to implement the following improved way to handle user-supplied

```
-P name=value => access via ${name}
-P name:group=value access via ${group.name}
```

Some thoughts along the line

* It would be nice if user-supplied parameter selectively overwrite other 
entries in the data model, e.g. overwrite a value provided from a property or 
JSON file 



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

Reply via email to