by zmmmmm · 7y ago · 0 comments
We usually have a slew of different environments that are mostly the same except for one or two parameters. I would like to find a solution that has the ability to control common parameters in one place without having to code the inheritance into every language / setting where the config is accessed.
In general it seems like simply storing your config in JSON or YAML and putting it in git provides most of the features of many config solutions and the overhead of deploying something separate to handle it rarely justifies the marginal benefit from that.
That said, you can easily copy a config from one env to another and update that new config in no time.
comfy get env1 > tmp.json; comfy setall env2 tmp.json; comfy set env2 <key> <value>