piral-cli
Version:
The standard CLI for creating and building a Piral instance or a Pilet.
18 lines (17 loc) • 507 B
TypeScript
import { LogLevels } from '../types';
export interface PackPiletOptions {
/**
* Sets the source directory for creating the npm package.
*/
source?: string;
/**
* Sets the target directory for storing the tarball.
*/
target?: string;
/**
* Sets the log level to use (1-5).
*/
logLevel?: LogLevels;
}
export declare const packPiletDefaults: PackPiletOptions;
export declare function packPilet(baseDir?: string, options?: PackPiletOptions): Promise<void>;