Socket
Socket
Sign inDemoInstall

@bring-it/cli

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bring-it/cli

Universal deployment tool for frontend


Version published
Weekly downloads
198
increased by132.94%
Maintainers
1
Weekly downloads
 
Created
Source

@bring-it/cli

Universal deployment tool for frontend.

npm github node

Installation

npm install @bring-it/cli --global

Usage

bring-it <server>
Usage: bring-it <server>

Positionals:
  server  SFTP-URI as user@hostname[:port] or
          Host config name in '.ssh/config'

Options:
  -c, --cwd  default: .bring-it
  -d, --dir  default: /mnt/bring-it
  -k, --key  example: .ssh/key.pem  [required]

How to use configuration file

When not match URI, bring-it will treat it as a Host name in .ssh/config

bring-it development
# example: .ssh/config

Host development
  Hostname 192.168.1.200
  User root

Host production
  Hostname example.org
  Port 23
  User deploy

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 will always upload files 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 is not supported?

Not safe, and typing special characters to the terminal might not easy.

Keywords

FAQs

Package last updated on 02 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc