git-suggest
Version:
A lightweight command-line tool that automatically generates contextual, high-quality Git commit messages based on your staged code changes. Powered by GitHub Copilot CLI, it helps you write smarter commits with less typing.
23 lines • 655 B
TypeScript
export interface CommitOptions {
prefix?: string;
type?: string;
scope?: string;
interactive?: boolean;
}
export interface GitChange {
file: string;
status: 'added' | 'modified' | 'deleted' | 'renamed';
additions: number;
deletions: number;
diff?: string;
}
export interface CommitSuggestion {
message: string;
confidence: number;
reasoning?: string;
}
export interface ShellIntegrationOptions {
shell: 'bash' | 'zsh' | 'fish' | 'auto';
}
export type CommitType = 'feat' | 'fix' | 'docs' | 'style' | 'refactor' | 'perf' | 'test' | 'chore' | 'ci' | 'build' | 'revert';
//# sourceMappingURL=index.d.ts.map