Documentation generator for Moleculer services
- Write a template. Check
templates
folder. The template is written usinghandlebarsjs
- Run
node index.js -t templates/README.db.md -s services/db.service.js -d out/README.db.md
, where-t
indicates the name and the location of the template,-s
indicates the location of the service and-d
indicates the name of the output file. - Done. Check the output file.