Typesafe Config : Reference current directory?

825 Views Asked by At

It is possible to include system properties into configuration file, as explained in docs

Looks like ${?VARNAME} recognizes only system properties (passed with -D option).

I need to be able to recognize environment values, in particular - $PWD

How can I do that in the configuration file?

1

There are 1 best solutions below

0
On

This should just work already. Typesafe config searches both system properties and environment variables by default.