UNPKG

gitquick

Version:

Git Add, Commit, and Push on the Fly

18 lines 790 B
/** * Prompt user for commit message with validation * @returns Validated commit message or null if cancelled/invalid */ declare const promptCommitMessage: () => Promise<string | null>; /** * Prompt user to enter a new commit message or keep the original one * @param originalMessage - The original commit message that exceeded the limit * @returns New commit message, original message, or null if cancelled */ declare const promptLongCommitMessage: (originalMessage: string) => Promise<string | null>; /** * Prompt user to confirm proceeding with changes * @returns true if user confirms, false otherwise */ declare const promptConfirmation: () => Promise<boolean>; export { promptCommitMessage, promptLongCommitMessage, promptConfirmation }; //# sourceMappingURL=prompt.d.ts.map