easy-cli2
Version:
一个简易的脚手架,提供eslint格式化检查,创建项目模板,自动部署功能,xlsx与json互转,压缩图片等功能
25 lines (24 loc) • 506 B
TypeScript
export declare type TCommand = {
description: string;
command: string;
options?: Array<{
command: string;
description: string;
}>;
action: Function;
};
export declare type TEnvItem = {
host: string;
port: string;
username: string;
password: string;
distPath: string;
webDir: string;
script: string;
};
export declare type TEnvConfig = {
projectName: string;
env: {
[key in string]: TEnvItem;
};
};