0.0.2 • Published 7 years ago

spatulajs v0.0.2

Weekly downloads
1
License
ISC
Repository
gitlab
Last release
7 years ago

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/"
      }
    }
  }
}
0.0.2

7 years ago

0.0.1

7 years ago