Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jcfr/dock-kwalify
Dockerized version of kwalify: Parser, schema validator, and data binding tool for YAML and JSON.
https://github.com/jcfr/dock-kwalify
dockerized yaml-validator
Last synced: 1 day ago
JSON representation
Dockerized version of kwalify: Parser, schema validator, and data binding tool for YAML and JSON.
- Host: GitHub
- URL: https://github.com/jcfr/dock-kwalify
- Owner: jcfr
- License: apache-2.0
- Created: 2016-09-27T20:25:00.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-08T03:09:05.000Z (over 8 years ago)
- Last Synced: 2024-11-24T07:42:09.444Z (2 months ago)
- Topics: dockerized, yaml-validator
- Language: Shell
- Size: 8.79 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE_Apache_20
Awesome Lists containing this project
README
dock-kwalify
============Dockerized version of `kwalify `_: Parser, schema validator, and data binding tool for YAML and JSON.
.. |dock-kwalify| image:: https://images.microbadger.com/badges/image/jcfr/dock-kwalify.svg
:target: https://microbadger.com/images/jcfr/dock-kwalifyjcfr/dock-kwalify
|dock-kwalify| Dockerized version of kwalify.Usage
-----::
$ kwalify --help
kwalify - schema validator and data binding tool for YAML and JSON
## Usage1: validate yaml document
kwalify [..options..] -f schema.yaml doc.yaml [doc2.yaml ...]
## Usage2: validate schema definition
kwalify [..options..] -m schema.yaml [schema2.yaml ...]
## Usage3: do action
kwalify [..options..] -a action -f schema.yaml [schema2.yaml ...]
-h, --help : help
-v : version
-q : quiet
-s : silent (obsolete, use '-q' instead)
-f schema.yaml : schema definition file
-m : meta-validation mode
-t : expand tab characters
-l : show linenumber when errored (experimental)
-E : show errors in emacs-style (experimental, implies '-l')
-a action : action ('genclass-ruby', 'genclass-php', 'genclass-java')
(try '-ha genclass-ruby' for details)
-I path : template path (for '-a')
-P : allow preceding aliasInstallation
------------This image does not need to be run manually. Instead, there is a helper script
to execute it.To install the helper script, copy the script `kwalify` in your `PATH`::
curl https://raw.githubusercontent.com/jcfr/dock-kwalify/master/kwalify.sh \
-o ~/bin/kwalify && \
chmod +x ~/bin/kwalifyMaintenance
-----------To rebuild the image::
git clone git://github.com/jcfr/dock-kwalify
make buildTo publish the image::
docker login -u -p
make pushLicense
-------This project is maintained by Jean-Christophe Fillion-Robin from Kitware Inc.
It is covered by the Apache License, Version 2.0:
http://www.apache.org/licenses/LICENSE-2.0
kwalify is distributed under the MIT License.
For more information about Kwalify, visit http://www.kuwata-lab.com/kwalify/
---
Credits go to `sdt/docker-raspberry-pi-cross-compiler `_, who invented the base of the dockerized script.