reviewit
Version:
A lightweight command-line tool that spins up a local web server to display Git commit diffs in a GitHub-like Files changed view
17 lines (16 loc) • 371 B
TypeScript
interface ServerOptions {
targetCommitish: string;
baseCommitish: string;
preferredPort?: number;
host?: string;
openBrowser?: boolean;
mode?: string;
ignoreWhitespace?: boolean;
}
export declare function startServer(options: ServerOptions): Promise<{
port: number;
url: string;
isEmpty?: boolean;
server?: any;
}>;
export {};