Fork me on GitHub

Metaschema Command Line Tool

This module provides a command line interfaces (CLIs) that uses the Metaschema capabilities provided by this project.

The following dependency can be added to your POM to use this library.

<dependency>
  <groupId>dev.metaschema.java</groupId>
  <artifactId>metaschema-cli</artifactId>
  <version>1.1.0</version>
</dependency>

The CLI supports the following commands:

usage: metaschema-cli <command> [<options>]
 -h,--help               display this help message
    --no-color           do not colorize output
 -q,--quiet              minimize output to include only errors
    --show-stack-trace   display the stack trace associated with an error
    --version            display the application version

The following are available commands:
   validate         Validate that the specified Module is well-formed and valid to the Module model
   generate-schema  Generate a schema for the specified Module module
   validate-content Verify that the provided resource is well-formed and valid to the provided Module-based model.
   metapath         Perform a Metapath operation.

'metaschema-cli <command> --help' will show help on that specific command.