You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,14 +11,14 @@
11
11
12
12
Copy files easily via JavaScript or the CLI, it uses [tinyglobby](https://www.npmjs.com/package/tinyglobby) internally for glob patterns and [yargs](https://www.npmjs.com/package/yargs) for the CLI.
13
13
14
-
The library is nearly the same as the [copyfiles](https://www.npmjs.com/package/copyfiles) package, it is however written with more native NodeJS APIs and less dependencies. The package options are exactly the same (except for `--soft` which is not implemented).
14
+
The library is nearly the same as the [copyfiles](https://www.npmjs.com/package/copyfiles) package, it is however written with more native NodeJS code and less dependencies (3 instead of 7). The package options are exactly the same (except for `--soft` which is not implemented).
15
15
16
16
> There is 1 major difference though, any options must be provided after the command as a suffix (the original project had them as prefix)
> Options **must** be provided after the command directories as a suffix (the original project had them as prefix)
42
+
> Options **must** be provided after the command directories as suffix (the original project had them as prefix)
43
43
44
44
copy some files, give it a bunch of arguments, (which can include globs), the last one
45
-
is the out directory (which it will create if necessary). Note: on windows globs must be **double quoted**, everybody else can quote however they please.
45
+
is the out directory (which it will create if necessary). Note: on Windows globs must be **double quoted**, everybody else can quote however they please.
46
46
47
47
```bash
48
48
copyfiles foo foobar foo/bar/*.js out
@@ -79,7 +79,7 @@ if your terminal doesn't support globstars then you can quote them
0 commit comments