@tuluffy/mockup-cli
v1.0.0
Published
<p align="center"> <a href="https://www.npmjs.com/package/rollup"> <img src="https://img.shields.io/npm/v/rollup.svg" alt="npm version" > </a> <a href="https://github.com/rollup/rollup/blob/master/LICENSE.md"> <img src="https://img.shields.i
Downloads
9
Readme
##@tuluffy/mockup-cli
使用
安装依赖包
$ npm i @tuluffy/mockup-cli
在工程根目录下配置mockup.config.json文件
{
"pid": 1054,
"token": "bfb8f9755a1feeadb516bedc7544125145593da9686106649f421184968e84aa",
...
}
使用 npx 命令获取项目在 yapi 上的所有开放接口生成本地Mockup
$ npx mockup