Sign inSign up

jcfr/dock-kwalify

By jcfr

Updated almost 10 years ago

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

Image
0

974

jcfr/dock-kwalify repository overview

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

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

Tag summary

Content type

Image

Digest

Size

264.9 MB

Last updated

almost 10 years ago

docker pull jcfr/dock-kwalify