Collect
The collect
command is used to collect public and consumer schemas from TypeScript files.
collect
Collect public and consumer schemas from TypeScript/Python files. For python packages, use the python import syntax, with .py at the end. For example: For a python file in schemas/test/allschemas.py, use the following command; rejot-cli collect schemas.test.allschemas.py
Examples
Arguments
The schema (TypeScript/Python) files to collect, separated by spaces.
Flags
Set the log level.
Path to the manifest file to write to.
Write the manifest to the file.
Type check the consumer schemas against the public schemas.
Print the names of the public and consumer schemas.
Verbose output.
The Python executable to use. By default, the command 'python3' is used, which means the local venv will be used if present.