File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ const cli = meow(`
12
12
--parents Preserve path structure
13
13
--cwd=<dir> Working directory for files
14
14
--rename=<filename> Rename all <source> filenames to <filename>
15
+ --dot Allow patterns to match entries that begin with a period (.)
15
16
16
17
<source> can contain globs if quoted
17
18
@@ -37,6 +38,10 @@ const cli = meow(`
37
38
} ,
38
39
rename : {
39
40
type : 'string'
41
+ } ,
42
+ dot : {
43
+ type : 'boolean' ,
44
+ default : false
40
45
}
41
46
}
42
47
} ) ;
@@ -47,7 +52,8 @@ const cli = meow(`
47
52
cwd : cli . flags . cwd ,
48
53
rename : cli . flags . rename ,
49
54
parents : cli . flags . parents ,
50
- overwrite : cli . flags . overwrite
55
+ overwrite : cli . flags . overwrite ,
56
+ dot : cli . flags . dot
51
57
} ) ;
52
58
} catch ( error ) {
53
59
if ( error . name === 'CpyError' ) {
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ $ cpy --help
28
28
--parents Preserve path structure
29
29
--cwd=<dir> Working directory for files
30
30
--rename=<filename> Rename all <source> filenames to <filename>
31
+ --dot Allow patterns to match entries that begin with a period (.)
31
32
32
33
<source> can contain globs if quoted
33
34
You can’t perform that action at this time.
0 commit comments