Cuttlefish Easing the Pain of Configuration
summary
Cuttlefish is a schema-driven config tool that turns a simple human file (react.conf) into Erlang app.config and vm.args, validates types (durations, sizes, enums), collects multiple errors and gives Levenshtein suggestions, and fails fast at node start if values are invalid. It ships a rebar plugin, an escript CLI, generates packaged defaults, supports commented/hidden advanced knobs, lets you unit-test schemas, and migrates existing app.config/vm.args; the project is on GitHub and is used successfully in production deployments.
AI-written summary · about
chapters (9)
- 0:00Start
- 8:01You can view the effective configuration
- 9:49Command Line Fu
- 15:25Phased Error Handling
- 19:00Strings? Really?
- 19:23Datatypes
- 21:00Extended types
- 30:22Support Functions
- 33:32Custom Override Test
related talks
18mEverything-as-Code: It's time to fix configurations
41mConfigman - the grand unified theorem of configuration
21mConfiguration Languages Are the Bane of Our Existence
34m"config.exs is Simple" and Other Lies
24mUsing Declarative Configs for Maintainable Reproducible Code
50mNode Project Configuration Management at Scale
01h 01mWhy not move all configs into a separate package and reduce boilerplate to zero?
19mCodfsh – fshing beyond linters
