chainguard-dev / yam

A sweet little formatter for YAML
Apache License 2.0
19 stars 9 forks source link

feat: add function for reading cfg from file #24

Closed luhring closed 1 year ago

luhring commented 1 year ago

Adds new formatted.ReadConfigFrom function, which works similarly to ReadConfig but allows the caller to specify the config file to parse (as an io.Reader).