@tuzki/cli
Version:
🐇 lowcode-cli is an efficient cli tool for Rabbitpre plugin component secondary development. ❤️
29 lines (28 loc) • 603 B
TypeScript
/**
* 获取完整的 rootDir
* @param {string} rootDir 传入的 rootDir
* @returns
*/
export declare function getRootDir(rootDir: string): string;
/**
* 检查是否登录
*
* @export
* @return {*}
*/
export declare function checkLogin(): true;
/**
* cleanup
*
* @export
* @param {CreateConfig} config config
*/
export declare function cleanup(dirPath: string): Promise<void>;
/**
* 获取有效端口号
*
* @export
* @param {(string | number)} port 默认端口号
* @return {*} {Promise<number>}
*/
export declare function getValidPort(port: string | number): Promise<number>;