You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@freemarker.apache.org by "Siegfried Goeschl (Jira)" <ji...@apache.org> on 2020/04/05 14:12:00 UTC

[jira] [Created] (FREEMARKER-140) freemarker-cli: Expose DataSources directly in the data model

Siegfried Goeschl created FREEMARKER-140:
--------------------------------------------

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


Provide a way to directly expose a DataSource in the date model used to render a template, e.g.

* `--data-model user=users.json` => expose `user` as map in the data model
* `--data-model env=env:///` => expose environment variables as `env` in the data model
* `--data-model env:///` => expose individual environment variables in the data model
* `--data-model env.yaml` => expose individual YAML entries in the data model



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