0.2.0 • Published 6 years ago

leonid-automatic v0.2.0

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

#Update History

  • 0.1.0 Support remove static files.
  • 0.0.9 Support publish static files,support recursive walk local directory.
  • 0.2.0 Support list static files, improve Remove operation

#Usage:

Initialize:

let robot = new require('leonid-automatic')({
  params: {...},
  url: "xxx",
  urls: {
    restful: "xxx"
  }
});

Upload:

robot.Push(
    <localPath>,
    <remotePath>, // do not add '/' after this argument!!!
    [
        "!!.DS_Store", // add '!!' to ignore specifical filename
        ".zip",
        ".html"
    ]
);

Remove:

var moment = require('moment');
robot.Remove(
  <remotePath>, // add / after this params, this is a directory!!!
  {
    timepoint: <Moment>,
    pattern: <String | Regex>
  }
);
0.2.0

6 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago