web-upload-cli
v1.0.4
Published
ftp upload cli
Downloads
249
Readme
简介
Upload cli 是一个前端本地ftp部署工具
安装使用
npm install web-upload-cli -g
upload-cli start
项目配置
- 根目录添加 upload.conofig.json
{
"development": {
"host": '服务器ip',
"port": '22',
"username": '用户名称',
"privateKey": '密钥相对路径',
"localDir": '相对路劲',
"remoteDir": '服务器目标路劲',
},
"production": {
"host": '服务器ip',
"port": '22',
"username": '用户名称',
"privateKey": '密钥相对路径',
"localDir": '相对路劲',
"remoteDir": '服务器目标路劲',
}
}