server-deploy-cli

2.0.1 • Public • Published

server-deploy-cli

connect server with ssh2-sftp-client, and publish local files to remote server or delete file、directory from the remote server or other operations you wanna do.

Usage

exec deploy-cli -h or deploy-cli --help to see the usage.

commander deploy-cli is the same as deploy-cli -c deploy.config.js or deploy-cli --config deploy.config.js.

you can set a custom configuration file path, for example: deploy-cli -c deployConfig.js.

please set the configuration file path into the file .gitignore in your project.

Configuration

you can get the configuration help from file at ./utils/defaultConfig.js.

BTW

I really wanna use Simplified Chinese here.

Notice the Node version

current version had set type: "module" in package.json.

promise your Node version supported the ESM.

the minimum version that support ESM of Node is v13.2.0

my Node version is v16.20.0

Package Sidebar

Install

npm i server-deploy-cli

Weekly Downloads

1

Version

2.0.1

License

ISC

Unpacked Size

44.6 kB

Total Files

11

Last publish

Collaborators

  • famoushappy