piral-cli
Version:
The standard CLI for creating and building a Piral instance or a Pilet.
23 lines (22 loc) • 676 B
TypeScript
import { ForceOverwrite } from '../common';
import { LogLevels } from '../types';
export interface DeclarationPiralOptions {
/**
* The entry of the piral solution.
*/
entry?: string;
/**
* The target directory where the d.ts will be created.
*/
target?: string;
/**
* Specifies ff the target d.ts would be overwrwitten.
*/
forceOverwrite?: ForceOverwrite;
/**
* Sets the log level to use (1-5).
*/
logLevel?: LogLevels;
}
export declare const declarationPiralDefaults: DeclarationPiralOptions;
export declare function declarationPiral(baseDir?: string, options?: DeclarationPiralOptions): Promise<void>;