branch-remover
Version:
A small application for quickly removing unnecessary branches from GitHub.
32 lines (31 loc) • 886 B
TypeScript
import { BranchRemoverOptions } from './Core';
export declare class BranchRemoverOptionsBuilder {
static readonly DEFAULT_CACHE_PATH = "./.branch-remover.cache";
private _quiet;
private _yes;
private _details;
private _mergedDate;
private _staleDate;
private _ignore;
private _beforeRemove;
private _afterRemove;
private _cacheTimeout;
private _cachePath;
private _debug;
constructor();
quiet(): this;
yes(): this;
details(): this;
merged(date: Date): this;
stale(date: Date): this;
ignore(value: string): this;
beforeRemove(command: string): this;
afterRemove(command: string): this;
cacheTimeout(timeout: number): this;
cachePath(path: string): this;
debug(): this;
build(): BranchRemoverOptions;
private displayBranchInfo;
private getRegExpOrNull;
private execCommand;
}