UNPKG

@thingjs/cli-code-temp

Version:

25 lines (22 loc) 794 B
declare const tempUrl: { readonly simple: "https://gitee.com:uinosoft/thingjs-template-simple-pro"; readonly editor: "https://gitee.com:uinosoft/thingjs-project-template-simple"; readonly 'vue-editor': "https://gitee.com:uinosoft/thingjs-project-js-template"; readonly 'vue-editor-ts': "https://gitee.com:uinosoft/thingjs-project-template#main"; }; type TempType = keyof typeof tempUrl; interface ParamItem { command: { name: string; opts: { template?: TempType; }; args: Array<string>; }; } /** * @description thing create an app, exposed to cli * @param param standard as: {command: {name: "create", opts: {}, args: ['myapp']}} */ declare function create(param: ParamItem): Promise<void>; export { create as default };