piral-cli
Version:
The standard CLI for creating and building a Piral instance or a Pilet.
18 lines (17 loc) • 521 B
TypeScript
import { LogLevels } from '../types';
export interface ValidatPiletOptions {
/**
* Sets the root module of the pilet.
*/
entry?: string;
/**
* Sets the log level to use (1-5).
*/
logLevel?: LogLevels;
/**
* Overrides the Piral instance used as validation blueprint for the pilet.
*/
app?: string;
}
export declare const validatePiletDefaults: ValidatPiletOptions;
export declare function validatePilet(baseDir?: string, options?: ValidatPiletOptions): Promise<void>;