@bring-it/cli
Universal deployment tool for frontend.
Installation
npm install @bring-it/cli --save-dev
Usage
npx -c bring-it --options
Options
-t, --target default: .bring-it
-r, --remote default: /mnt/bring-it
-s, --server default: 127.0.0.1:22
-u, --username default: root
-k, --key-path example: .ssh/key.pem
-p, --passphrase
Tips
Atomic write is not support when ssh/sftp/scp
transfer, make your bundle support long-term caching, it will be safer when uploading.
For a little bit safer, @bring-it/cli
always upload in order by: OTHER, SVG, STYLE, SCRIPT, HTML, XML
.
FAQ
Why unauthorized transfer is not supported?
To make sure unexpected file transferring won't happen.
Why --password
argument is not supported?
Not safe, and typing special characters to the terminal might not easy.