gongye


  • published 1.0.0 3 years ago
  • // Node cli 应用入口文件必须要有上面的文件头 // 如果是Linux 或者 macOS 系统下,还需要修改此文件的读写权限为 755 // 具体就是通过 chmod 755 cli.js 实现修改 // 脚手架的工作过程: // 1、通过命令行交互询问用户问题; // 2、根据用户回答的结果生成文件。 const fs = require('fs') const path = require('path') // 需要下载 inquirer 模块 const inquirer = requir

    published 1.0.1 3 years ago
  • published 1.0.1 3 years ago