Skip to content

Comment on Show HN: Config-file-validator – CLI tool to validate all your config files

Comments

I recently made a python library that does this. You build up specs (a json/dict), and at each layer that descends, you add a `spec_chain` entry, and build another spec for the next level. Once the specs are built, you can validate, as well as get config defaults from it.

https://pypi.org/project/specker

Very cool! Thanks for sharing

but how do you validate the specs? /s

Its actually self validating! It comes with a spec to validate specs

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.