presidium-json-schema is a CLI tool for importing your JSON Schema spec into Presidium documentation.
Install
brew install SPANDigital/tap/presidium-json-schema
Usage
Usage:
presidium-json-schema convert [path] [flags]
Flags:
-d, --destination string the output directory (default ".")
-e, --extension string the schema extension (default "*.schema.json")
-o, --ordered preserve the schema order (defaults to alphabetical)
-w, --walk walk through sub-directories
To convert a file you simply:
presidium-json-schema convert <PATH_TO_SCHEMA_DIR> -d <THE_DESTINATION_DIR>
