Coder Social home page Coder Social logo

jcfr / dock-kwalify Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 9 KB

Dockerized version of kwalify: Parser, schema validator, and data binding tool for YAML and JSON.

License: Apache License 2.0

Makefile 23.96% Shell 76.04%
yaml-validator dockerized

dock-kwalify's Introduction

dock-kwalify

Dockerized version of kwalify: Parser, schema validator, and data binding tool for YAML and JSON.

jcfr/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 alias

Installation

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/kwalify

Maintenance

To rebuild the image:

git clone git://github.com/jcfr/dock-kwalify
make build

To publish the image:

docker login -u <user> -p <password>
make push

License

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.

dock-kwalify's People

Contributors

jcfr avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.