@buurman/sdk
Version:
The buurman SDK
13 lines • 444 B
TypeScript
export interface GitApi {
isGitRepository(): Promise<boolean>;
hasCleanWorkingCopy(): Promise<boolean>;
command(command: string, args?: string[]): this;
init(): this;
add(files: string | string[]): this;
commit(message: string, flags?: string[]): this;
push(flags?: string[]): this;
execute(): Promise<void>;
}
declare const git: () => GitApi;
export default git;
//# sourceMappingURL=GitApi.d.ts.map