pub fn expanded_map() -> Result<HashMap<String, String>, EnvInventoryError>Expand description
Expand all the registered environment variables. that are expected from different parts of the application. So for instance if you have a variable like this:
// somewhere
register!(TEST_ENV_VAR = "~/test");
// elsewhere you do this:
register!(LIBDIR = "${TEST_ENV_VAR}/lib");
// then you can do this:
then expanded_map will update the env and expand the env. TODO:
- This should be done in the register macro.