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/09 08:24:00 UTC

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

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

Siegfried Goeschl resolved FREEMARKER-140.
------------------------------------------
    Resolution: Fixed

> 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
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)