Amartus / yang2swagger

Yang to swagger generator
Eclipse Public License 1.0
32 stars 21 forks source link

Add exit status code for errors #20

Closed jdillard closed 5 years ago

jdillard commented 5 years ago

This adds an exit status code to make it easier to test for errors in test suites or continuous integration.

It could be improved to use a variable and a flag that allows warnings to be treated as errors, but this should work for now as an improvement.