UNPKG

@em-cli/shared

Version:

脚手架工具方法包

23 lines (22 loc) 508 B
declare type Shell = string; declare type ShellSuccess = { type: 'success'; }; declare type ShellError = { type: 'error'; shell: Shell; }; interface ShellsManagerOptions { projectDir: string; } declare class ShellsManager { private op; success: ShellSuccess[]; error: ShellError[]; shells: Shell[]; constructor(op: ShellsManagerOptions); private processSingleShell; addShells(shells: Shell[]): void; runShells(): Promise<void>; } export default ShellsManager;