api-switch-cli
v0.3.2
Published
api-switch-cli
Downloads
6
Maintainers
Readme
api-switch-cli
Installation
yarn add api-switch-cli -D
Usage
// package.json
"api-switch-cli": {
"rootFile": ".env",
"globals": {
"dev": {
"http": "https://xxx.net",
"ws": "wss://ws.xxx.net:1000"
},
"test": {
"http": "https://xxx.net",
"ws": "wss://ws.xxx.net:1000"
}
}
}
Options
rootFile API file
globals local develop API