gitcleancommit
Version:
A beautiful CLI tool for creating clean, conventional git commits with advanced spell checking and automatic integration
14 lines (13 loc) • 700 B
TypeScript
export declare function findGitRoot(): string;
export declare function getCurrentBranch(): string;
export declare function setupGitHook(): Promise<void>;
export declare function removeGitHook(): Promise<void>;
export declare function executeGitAdd(files?: string[]): void;
export declare function executeGitCommit(message: string, body?: string): Promise<void>;
export declare function executeGitPush(): Promise<void>;
export declare function executeFullGitWorkflow(commitMessage: string, commitBody?: string, files?: string[]): Promise<void>;
export declare function checkWorkingDirectory(): {
hasChanges: boolean;
hasStagedFiles: boolean;
};
export declare function getGitStatus(): string;