web-upload-cli

1.0.4 • Public • Published

简介

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": '服务器目标路劲',
    }
}

Package Sidebar

Install

npm i web-upload-cli

Weekly Downloads

3

Version

1.0.4

License

ISC

Unpacked Size

3.97 kB

Total Files

5

Last publish

Collaborators

  • changzhe