mxdocgen
Version:
A small tool that mimics the documentation generation capabilities offered in Mendix Studio Pro, but with greater flexibility. It uses the Mendix Model SDK to extract information from a Mendix model, which is then fed into a set of templates to generate
9 lines (7 loc) • 317 B
text/typescript
import * as fs from "fs";
import yargs from "yargs";
yargs
.commandDir("commands")
.demandCommand(1, "You need at least one command before moving on")
.config("config", (configPath: string) => JSON.parse(fs.readFileSync(configPath, "utf-8")))
.showHelpOnFail(false, "Specify --help for available options").argv;