@sprit/pretty-console-webpack-plugin
Version:
## Usage ```typescript import { PrettyConsoleWebpackPlugin } from '@sprit/pretty-console-webpack-plugin'; ```
15 lines (14 loc) • 444 B
TypeScript
import type { GitOptions } from './interface';
export default class Git {
gitWorkTree?: string;
commithashCommand: string;
versionCommand: string;
createBranchFile: boolean;
branchCommand: string;
lastCommitDateTimeCommand: string;
constructor(options?: GitOptions);
commithash(): string | null;
version(): string | null;
branch(): string | null;
lastcommitdatetime(): string | null;
}