From a08dafe93407655ab7295083e5e4c1b0c94cb4fe Mon Sep 17 00:00:00 2001 From: Mo Valipour Date: Sat, 9 May 2015 17:41:57 +0100 Subject: [PATCH] Update README.md --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 033c11f..1d1cccf 100644 --- a/README.md +++ b/README.md @@ -64,8 +64,9 @@ deploy(opts, files, logger, function(err){ - `files`: [] - array of files objects to be deployed - `path` - absolute path of file - `cwd` - [deprecated] current working directory path. Now replaced by `base` - - `base` - the base directory in which the file is located. The relative path of file to this directory is used as the destination path + - `base` - (optional) the base directory in which the file is located. The relative path of file to this directory is used as the destination path *Note*: if both `base` and `cwd` are missing, the file will be uploaded to the root of the CDN `folder`. + - `dest` - (optional) if provided, file will be uploaded to this path on CDN. (relative to the `folder`). Useful for cases where you want to upload to a different path or file name. - `logger` - logger compatible with console.log(param1, param2...) - `cb` - node callback