validtoml/README.md

29 lines
458 B
Markdown
Raw Normal View History

2016-07-12 14:32:37 +02:00
# About
Command line tool to validate TOML syntax of input file.
2018-01-08 01:57:27 +01:00
## Installation
Windows and macOS binaries are available under [Releases](https://github.com/martinlindhe/validtoml/releases)
Or install from source:
2016-07-12 14:32:37 +02:00
go get -u github.com/martinlindhe/validtoml
2018-01-08 01:57:27 +01:00
## Usage
2016-07-12 14:32:37 +02:00
Exit code will be 0 if file is good.
2018-01-08 01:57:27 +01:00
$ validtoml file.toml
2016-07-12 14:32:37 +02:00
OK: file.toml
2018-01-08 01:57:27 +01:00
$ curl http://site.com/file.toml | validtoml
OK: -
2016-07-12 14:32:37 +02:00
2018-01-08 01:57:27 +01:00
## License
2016-07-12 14:32:37 +02:00
Under [MIT](LICENSE)