UNPKG

mdat

Version:

CLI tool and TypeScript library implementing the Markdown Autophagic Template (MDAT) system. MDAT lets you use comments as dynamic content templates in Markdown files, making it easy to generate and update readme boilerplate.

9 lines (8 loc) 297 B
/** * Get help output from a CLI command and return it as markdown */ export declare function getHelpMarkdown(cliCommand: string, helpFlag?: string, depth?: number): Promise<string>; /** * Exported for testing */ export declare function renderHelpMarkdownBasic(rawHelpString: string): string;