This PR enables config file merging. Which allows a user to have a base.tern.conf and a prod.tern.conf where prod.tern.conf can only have updated authentication information and not any duplicate info from base.tern.conf. The behavior is similar to passing command line arguments overwriting config file values, but being able to store that information in a config file is a lot more usable than remembering all the arguments needed to pass.
config files will overwrite in order they are passed
tern status -c tern.conf -c next.tern.conf -c other.tern.conf
tern.conf will be read then next.tern.conf will overwrite then other.tern.conf will overwrite
This PR enables config file merging. Which allows a user to have a base.tern.conf and a prod.tern.conf where prod.tern.conf can only have updated authentication information and not any duplicate info from base.tern.conf. The behavior is similar to passing command line arguments overwriting config file values, but being able to store that information in a config file is a lot more usable than remembering all the arguments needed to pass.
config files will overwrite in order they are passed
tern status -c tern.conf -c next.tern.conf -c other.tern.conf
tern.conf will be read then next.tern.conf will overwrite then other.tern.conf will overwrite
Example
base.tern.conf:
employees.tern.conf
tern status -c base.tern.conf
would producetern status -c base.tern.conf -c employees.tern.conf
would produce