refactor: add plop tool

This commit is contained in:
niyonggui
2022-03-27 10:09:35 +08:00
parent e0297f4a9b
commit 28530b2744
5 changed files with 2987 additions and 527 deletions

7
plopfile.js Normal file
View File

@@ -0,0 +1,7 @@
const createNewModule = require('./plop/generator/newModule')
function Cli(plop) {
plop.setGenerator('newModule', createNewModule)
}
module.exports = Cli