contracts when one repository publishes the database shape another repository consumes.
The commands export and diff JSON contracts locally. Store or transfer the resulting JSON with the repository and artifact systems your teams already use.
Run it
Subcommands
command
Build a JSON schema contract from
--from, defaulting to the configured
schema tree.command
Compare
--from <file> with --to <source>, defaulting --to to the
configured schema tree.Flags
source
Schema source used by
export.source
Candidate source used by
diff. Defaults to the configured schema tree.file | stdout
Output destination for
export. Defaults to stdout.
