weapp-ide-cli
Version:
让微信开发者工具,用起来更加方便!
22 lines (17 loc) • 821 B
text/typescript
declare const operatingSystemName: string;
declare const defaultCustomConfigDirPath: string;
declare const defaultCustomConfigFilePath: string;
declare const defaultPath: string;
declare function parse(argv: string[]): Promise<void>;
interface BaseConfig {
cliPath: string;
}
interface AliasEntry {
find: string;
replacement: string;
}
declare function execute(cliPath: string, argv: string[]): Promise<void>;
declare function resolvePath(filePath: string): string;
declare function createAlias(entry: AliasEntry): (argv: string[]) => string[];
declare function createPathCompat(option: string): (argv: string[]) => string[];
export { type BaseConfig, createAlias, createPathCompat, defaultCustomConfigDirPath, defaultCustomConfigFilePath, defaultPath, execute, operatingSystemName, parse, resolvePath };