sudoblockio / tackle

Tackle is a programmable configuration language for building modular utilities, code generators, and CLIs with schema validation baked in.
Apache License 2.0
51 stars 2 forks source link

Structured File Hook Shared Functions #260

Open robcxyz opened 8 months ago

robcxyz commented 8 months ago

Structured File Hook Shared Functions

Update all the structured file hooks (ie yaml, json, toml, and ini) to have shared functions.

Overview

The yaml, json, toml, and ini share a lot of the same operations and so should have some shared libraries. Right now we have a bloated *_in_place hook. In the future it would be good to have a shared library of operations that each tool wraps.

Supported hooks (yaml as example):

Comment Preserving

New Hooks