UNPKG

docutils-ts

Version:

Port of the Python Docutils library to TypeScript

11 lines (10 loc) 444 B
#!/usr/bin/env node import fs from 'fs'; import { fileSystem, publishCmdLine } from '../src/core.js'; import { defaultDescription } from '../src/constants.js'; fileSystem.setImplementation({ writeFile: fs.promises.writeFile, readFile: fs.promises.readFile, }); const description = `Generates (X)HTML documents from standalone reStructuredText sources. ${defaultDescription}`; await publishCmdLine({ writerName: "html", description });