validate-configs-action
gookit/config
validate-configs-action | gookit/config | |
---|---|---|
3 | 3 | |
14 | 523 | |
- | 0.6% | |
6.3 | 7.7 | |
6 months ago | 2 months ago | |
Dockerfile | Go | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
validate-configs-action
-
Ask HN: What was an interesting project you started and finished over a weekend?
Took me bout 2 days for the initial release of the config-file-validator. I had been thinking about it for a while and was able just to knock it pretty quickly
https://github.com/Boeing/config-file-validator
-
Have multiple config file types in a project? Here’s a single tool to validate them all!
Project Link: https://github.com/Boeing/config-file-validator
-
GitHub Action to scan for config files in your repo and validate the syntax
Github Action to use the config-file-validator (https://github.com/Boeing/config-file-validator) to recursively scan the directory structure of a repo for config files and validate their syntax as part of a CI/CD pipeline.
This is useful as a quick quality gate in your CI pipeline to validate that a syntax error was not introduced in the latest commit. Currently XML, JSON, YAML, INI, and TOML are supported with CSV, HCL, and Plist coming in the next release.
Here's how to add it to your existing workflow: https://github.com/kehoecj/validate-configs-action/tree/main...
gookit/config
-
topoconfig: enhancing config declarations with graphs
gookit/config
-
How to read .env file with a variable that contains $ ?
In that case, you should not be using the shell to read the .env file; instead, use a library. I recommend https://github.com/gookit/config
- GitHub - gookit/config: 📝 Go configuration manage(load,get,set,export). support JSON, YAML, TOML, Properties, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var, binding data to struct.
What are some alternatives?
config-file-validator - Cross Platform tool to validate configuration files
viper - Go configuration with fangs
figcone - Read JSON, YAML, TOML, XML or INI configuration by declaring a struct
go-env - Golang handling of environment values
structured-text-tools - A list of command-line tools for manipulating structured text data
konfig - Composable, observable and performant config handling for Go for the distributed processing era
parse_it - A python library for parsing multiple types of config files, envvars & command line arguments that takes the headache out of setting app configurations.
gcfg - read INI-style configuration files into Go structs; supports user-defined types and subsections
uxf - Uniform eXchange Format (uxf) is a plain text human readable optionally typed storage format that supports custom types. It may serve as a convenient alternative to csv, ini, json, sqlite, toml, xml, or yaml.
ini - Package ini provides INI file read and write functionality in Go
toml - Instream TOML to JSON encoder
configure - Configure is a Go package that gives you easy configuration of your project through redundancy