UNPKG

hym-react-cli

Version:

React + Ts + Stylus + Cesium + dll脚手架

15 lines (12 loc) 364 B
const chalk = require("chalk") // 用户与命令行交互的工具 // const Prompt = require("inquirer") const clone = require("./clone") const create = async (projectName, isTs, templates) => { try { await clone(projectName, isTs, templates) } catch (error) { console.log(chalk.red(error)) } } module.exports = create