expodoc
Version:
A tool to generate API documentation automatically for Express.js applications.
27 lines (22 loc) • 618 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.helpCommand = helpCommand;
function helpCommand() {
console.log(`
✅ ExpressDocgen:
A tool to generate API documentation automatically for Express.js applications.
Usage: expodoc [options]
Options:
--version Show version
--help Show help for a command
--init Initialize the configuration file
--postman Generate Postman collection from routes
--print Print the routes in JSON format
Examples:
✓ $ expodoc --version
✓ $ expodoc --help
✓ $ expodoc --init
✓ $ expodoc --postman
✓ $ expodoc --print
`);
}