clemensv / xregistry-cli

This project is a command line client for CNCF xRegistry
Apache License 2.0
16 stars 2 forks source link

Feature: "generate" command options --schemaprojectname/--nocode/--noschemas #1

Open clemensv opened 1 year ago

clemensv commented 1 year ago

Add options that allow separating the generation of non-schema code and schema code (serialization classes):

The combination --schemaprojectname and --noschema emits code that references an external project containing the schemas that was generated separately.

The combination --schemaprojectname {name} and --nocode emits a schema-only project.

Just specifying --schemaprojectname {name} emits two projects with the code project referencing the schema project.