Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/apparentlymart/go-hcl-overlay
HCL helper for applying overlays to configuration, such as command line arguments
https://github.com/apparentlymart/go-hcl-overlay
Last synced: 12 days ago
JSON representation
HCL helper for applying overlays to configuration, such as command line arguments
- Host: GitHub
- URL: https://github.com/apparentlymart/go-hcl-overlay
- Owner: apparentlymart
- License: mit
- Created: 2020-05-15T04:25:19.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-17T01:14:32.000Z (over 4 years ago)
- Last Synced: 2024-12-08T18:03:14.590Z (17 days ago)
- Language: Go
- Size: 17.6 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# HCL "Overlays"
This library is intended to be used by applications that use configuration
languages built with [HCL](https://hcl.readthedocs.io/), adding some additional
utilities for applying "surgical" modifications to the resulting configuration
by mechanisms like command line arguments.For example, [CLI options overlays](./examples/cliargs) allow using the same
HCL content schema as for a main configuration language to decode command line
options that override specific arguments in the configuration.For more information, see
[the package documentation](https://pkg.go.dev/github.com/apparentlymart/go-hcl-overlay/hcloverlay).