n3ps / json-schema-to-jsdoc

Generate JSDoc from JSON Schema
https://francisn.com/json-schema-to-jsdoc/
ISC License
30 stars 11 forks source link

Enums #30

Closed brettz9 closed 4 years ago

brettz9 commented 4 years ago

Btw, I took a look at other forks to look for anything that might be useful. This looks like the one fork with some useful ideas (like a CLI) that might be nice to include (not on my priority list, but just an FYI): https://github.com/n3ps/json-schema-to-jsdoc/compare/master...cdmgtri:dev

n3ps commented 4 years ago

Yeah, a CLI might be handy. I think commander is good solution for this

brettz9 commented 4 years ago

Being a JSON guy, you might like command-line-args if you haven't seen it. Besides the more JSON-friendly API, I like the ecosystem around it (the last two are my own):

No promises I'd implement, but just mentioning if that approach may be of interest and is I think pretty clean.

brettz9 commented 4 years ago

Thanks for the review/merge. Rebased!