A compiler for CLI command definitions written in Markdown, transforming them into JavaScript modules. Integrated with the cli-command and cli-toolkit ecosystem, it supports multiple phases including parsing, rendering, variable replacement, and module generation. This package is at version 0.1.35, with no recent releases indicating active maintenance. It is designed for Node.js environments and lacks TypeScript type definitions. Key differentiator: it uses Markdown as the source format for CLI program definitions, allowing documentation and code generation from the same file.
npm install cli-compilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Compiles a Markdown-defined CLI program into a JavaScript module file.
Refer to the cli-command documentation for the exact Markdown format expected.
Run eslint or similar on the output file.
No fix available; consider using an alternative compiler.
Run `npm install cli-compiler` to install the package.
Use `import compiler from 'cli-compiler'` (ESM) or `const compiler = require('cli-compiler').default` (CJS).Review the cli-command specification and ensure headings and definitions are correct.