UNPKG

@commitlint/prompt

Version:

commitizen prompt using commitlint.config.js

13 lines • 513 B
import type { LoadOptions } from "@commitlint/types"; import inquirer from "inquirer"; type Commit = (input: string) => void; /** * Entry point for commitizen * @param cz inquirer instance passed by commitizen, unused * @param commit callback to execute with complete commit message * @param options where to load the commitlint config from * @return {void} */ export declare function prompter(cz: typeof inquirer, commit: Commit, options?: LoadOptions): void; export {}; //# sourceMappingURL=index.d.ts.map