Collect
The collect
command is used to collect public and consumer schemas from TypeScript files.
collect
Collect public and consumer schemas from TypeScript files.
Examples
$ rejot-cli collect schema1.ts schema2.ts --print
$ rejot-cli collect schema1.ts schema2.ts --write --check
Arguments
schemas required
The schema (TypeScript) files to collect, separated by spaces.
Flags
--log-level option
Set the log level.
Options: "user" | "error" | "warn" | "info" | "debug" | "trace"
Default: "user"
--manifest string
Path to the manifest file to write to.
--write boolean
Write the manifest to the file.
--check boolean
Type check the consumer schemas against the public schemas.
--print boolean
Print the names of the public and consumer schemas.
--verbose boolean
Verbose output.