pr-desc-cli
Version:
AI-powered PR description generator
12 lines (11 loc) • 658 B
TypeScript
import type { GitChanges } from "./types.ts";
export declare function getGitChanges(baseBranch: string, maxFiles: number, mode?: "branch" | "staged"): Promise<GitChanges>;
export declare function isGhCliInstalled(): Promise<boolean>;
export declare function getPRForCurrentBranch(currentBranch: string): Promise<{
number: number;
url: string;
} | null>;
export declare function createPR(body: string): Promise<string>;
export declare function updatePR(prNumber: number, body: string): Promise<void>;
export declare function runGitCommand(args: string[]): Promise<string>;
export declare function pushCurrentBranch(branchName: string): Promise<void>;