config.toml instead of .env
Closed this issue · 0 comments
GeremWD commented
The json should allow to predefine variables, for example this way :
{
apiKey:"truc",
apiURL:"bidule",
variables: [
{name:"ROOT", value:"D:/Nextcloud.ditrit.io/Ogree"},
{name:"CUST", value:"${ROOT}/4_customers/__BNPP__/"},
{name:"3DMODELS", value:"${ROOT}/0_modeles3D/"},
],
}
The choice of an array rather than a map for the variables is because the order of the declarations matter, as variables can reference each others.