I’m writing some user-configurable scripts, but running into the problem where:
- They lose those customizations if they ever install newer versions.
It would be absolutely spiffy if there were a Settings object so that I could do something like:
settings = Settings.query(<same options as Draft.query>) that finds the described Draft, parses its contents as YAML or JSON, and returns the parsed value as an object. Then I could trivially add user-configurable, persistent settings without having to add a bunch of boilerplate to every script that wants to access that information.
Could we have something like that?