pip install yaml-schema-agent
ysg --generate_from YamlSchemaGen/schema.yaml
ysg --generate_from YamlSchemaGen/schema.yaml --validate YamlSchemaGen/input.yaml
ysg --generate_from YamlSchemaGen/schema.yaml --output my_schema.yaml
Use --report_location
to init the log directory
ysg --generate_from YamlSchemaGen/schema.yaml --output my_schema.yaml --report_location reports/
verbose
- prints detailed log on console (default: False)
simple_report
- The report generated in the report_location will be concise (default: False).
ysg --generate_from YamlSchemaGen/schema.yaml --output my_schema.yaml --report_location reports/ --verbose --simple_report