UNPKG

adr

Version:

轻量级架构记录工具 - Command-line tools for working with Architecture Decision Records

16 lines (15 loc) 556 B
/// <reference path="AbstractBuilder.d.ts" /> import { AbstractBuilder } from './AbstractBuilder'; import * as walkSync from 'walk-sync'; export declare class GenerateBuilder implements AbstractBuilder { path: string; files: walkSync.Entry[]; startString: string | string[]; endString: string | string[]; bodyString: string[] | any; constructor(path: string); setBody(handleBody: any): this; setStart(startSting: string | string[]): this; setEnd(endString?: string | string[]): this; build(): string | string[][]; }