spatulajs

0.0.2 • Public • Published

Spatula.js

Installation

npm i spatulajs -g

Usage

spatula files uploads up -- syncs files from local to remote using the uploads configuration spatula files uploads down -- syncs files from remote to local using the uploads configuration

Demo config for file syncing via rsync

{
  "files": {
    "uploads": {
      "exclude": [],
      "local": "wordpress/content/uploads/",
      "remote": {
        "host": "my.ssh.host.com",
        "user": "myuser",
        "password": "",
        "path": "/home/myuser/website/uploads/"
      }
    },
    "deploy": {
      "exclude": [],
      "local": "/build/",
      "remote": {
        "host": "my.ssh.host.com",
        "user": "myuser",
        "path": "/home/myuser/website/"
      }
    }
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i spatulajs

Weekly Downloads

1

Version

0.0.2

License

ISC

Last publish

Collaborators

  • d2k