ConfigGenerator
ConfigGenerator copied to clipboard
Making `Config` a singleton
Very handy tool. One observation though. Currently the Config class that is auto generated is initializable. So we can do something like let configInstance = Config(). Honestly though I am not sure whats wrong with that, but probably Config would be better off as a singleton or at least a private initializer. Cause we really dont want to instantiate Config