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.

8 lines (7 loc) 372 B
/** * Accommodate missing or sloppy cli help command input * @param cliCommand - Can be nothing, a command name on the path like `git`, or a path to an executable like `./bin/cli.js` * @returns The path to a verified executable * @throws If nothing can be inferred or resolved */ export declare function inferCommand(cliCommand: string | undefined): Promise<string>;