@phenom.pub/schema-registry-cli
v1.0.6
Published
CLI to interact with the Phenom Schema Registry
Downloads
10
Maintainers
Keywords
Readme
@phenom.pub/schema-registry-cli
CLI tool to interact with the Phenom Schema Registry
Usage
$ schema-registry-cli <command>
Commands:
schema-registry-cli validate validate provided schema against the Phenom
Schema Registry
Options:
--help Show help [boolean]
--version Show version number [boolean]
$ schema-registry-cli validate
validate provided schema against the Phenom Schema Registry
Options:
--help Show help [boolean]
--version Show version number [boolean]
--service Name of the service for which the schema is validated
[string] [required]
--path Path to file exporting the typeDefs (either .js or .graphqls)
[string] [required]
--property Set in case the file provided at path exports an object.
The exported object must be a GraphQLSchema type [string]