Hi,
I have to overwrite some entries in one or more .env files. If the variables has been set with the command line, it would be nice to change these, too.
Currently I use the default ConfigService from the NestJs ConfigModule and applied a custom validator with class-validator and class-transformer. I already did some transformations with these libs, but now I have to write these changes to the files.
The locations of the files are static (in a relative path context).
Is a custom ConfigService a good idee? If so, can I extend the default ConfigService?