UNPKG

@commitlint/prompt

Version:

commitizen prompt using commitlint.config.js

14 lines • 443 B
import { input } from "./input.js"; /** * 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 function prompter(cz, commit, options) { input(cz.prompt, options).then((message) => { commit(message); }); } //# sourceMappingURL=index.js.map