jneug / parboil

:rice: Parboil lets you generate boilerplate projects from template files.
MIT License
0 stars 0 forks source link

Namespaces for prefilled values #19

Open jneug opened 3 years ago

jneug commented 3 years ago

To avoid conflicts with different templates, it should be possible to attach profiled values to specific project templates.

E.g. the following config file would profile the Author key with the value Jonas Neugebauer. But for the license template the value will be J. Neugebauer and for the git template it will be jneug.

{
    "prefilled": {
        "Author": "Jonas Neugebauer",

        "license": {
            "Author": "J. Neugebauer"
        },

        "git": {
            "Author": "jneug"
        }
    }
}