UNPKG

@mornya/cli-libs

Version:
10 lines (9 loc) 450 B
declare type IArgs = Array<string | undefined>; export interface IPackageManagerInfo { isYarn: boolean; globalModulePath: string; } export declare function run(cmd: string, args: IArgs, executor?: (message: string, error?: Error) => void, hasOutput?: boolean | undefined): boolean; export declare function get(cmd: string, args: IArgs): string; export declare function getPackageManagerInfo(rootPath: string): IPackageManagerInfo; export {};