server-deploy-cli
v2.0.1
Published
connect server with ssh2-sftp-client, and publish local files to remote server or delete some files from the remote server or other operations you wanna do
Downloads
9
Maintainers
Readme
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