此仓库是生成自定义angular schematics
npm i angular-custom-schematics --save-dev
或
yarn add angular-custom-schematics -D
在项目根目录下创建._cli-tpl文件夹,
然后执行
# >ng g angular-custom-schematics:tpl --name= --tplName=files
具体模板写法参考 https://www.npmjs.com/package/@angular-devkit/schematics