Comparing version 2.0.1 to 2.0.2
@@ -7,6 +7,7 @@ Usage: cpr <source> <destination> [options] | ||
-d, --delete-first Delete the destination directory before copying. | ||
-h, --help Display this usage info. | ||
-o, --overwrite Overwrite the destination exists if it exists. | ||
-v, --version Display the cpr version. | ||
-d, --delete-first Delete the destination directory before copying. | ||
-f <regex>, --filter <regex> Filter out any items that match `<regex>`, a case-insensitive regex pattern. | ||
-h, --help Display this usage info. | ||
-o, --overwrite Overwrite the destination exists if it exists. | ||
-v, --version Display the cpr version. | ||
## Change Log | ||
### v2.0.2 (2016/12/21 18:14 +00:00) | ||
- [3fa3af0](https://github.com/davglass/cpr/commit/3fa3af02572fe5a42fdf35ed879e3040fd209409) 2.0.2 (@davglass) | ||
- [#36](https://github.com/davglass/cpr/pull/36) Merge pull request #36 from benelliott/master (@benelliott) | ||
- [0443d51](https://github.com/davglass/cpr/commit/0443d511e92ee19a7d389e19d8f684f0ccb60c32) Include CLI documentation in README.md, update usage.txt to reflect CLI filter option (@benelliott) | ||
- [14233bf](https://github.com/davglass/cpr/commit/14233bf74563aa90f7c1b5fe8094717aededaf72) Added changelog [skip ci] (@davglass) | ||
### v2.0.1 (2016/12/19 15:47 +00:00) | ||
@@ -4,0 +10,0 @@ - [4225fc6](https://github.com/davglass/cpr/commit/4225fc6ce0a62b8301ee881b9b2ff677246e8096) 2.0.1 (@davglass) |
@@ -5,3 +5,3 @@ { | ||
"author": "Dav Glass <davglass@gmail.com>", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"dependencies": { | ||
@@ -8,0 +8,0 @@ "graceful-fs": "^4.1.5", |
CPR (cp -R) | ||
=========== | ||
There are other modules out there that attempt this, | ||
but none did it the way I needed it to be done or | ||
they had issues and the author failed to fix them in a | ||
timely manner. | ||
There are other modules out there that attempt this, but none did it the way I needed it to be done or they had issues and the author failed to fix them in a timely manner. | ||
Install | ||
@@ -68,3 +64,19 @@ ------- | ||
Usage: | ||
``` | ||
cpr <source> <destination> [options] | ||
``` | ||
Copies files from `source` to `destination`. | ||
Options: | ||
* `-d`, `--delete-first`: Delete the destination directory before copying. | ||
* `-f <regex>`, `--filter <regex>`: Filter out any items that match `<regex>`, a case-insensitive regex pattern. | ||
* `-h`, `--help`: Display this usage info. | ||
* `-o`, `--overwrite`: Overwrite the destination exists if it exists. | ||
* `-v`, `--version`: Display the cpr version. | ||
Note that the CLI's `filter` option is simpler than the original NodeJS API, only accepting case-insensitive regular expression patterns and not functions. | ||
![cpr](../master/cpr.jpg?raw=true) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
61111
82