File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -45,9 +45,10 @@ Included Layouts:
45
45
- Bootstrap (https://getbootstrap.com)
46
46
- JSON` ;
47
47
48
- const args : { flags : { [ key in string ] : string } ; input ? : string } =
48
+ const args : { flags : { [ key in string ] : string } ; inputs : string [ ] } =
49
49
parseCmdArgs ( null , {
50
- requireUserInput : true
50
+ requireUserInput : true ,
51
+ allowMultipleInputs : true
51
52
} ) ;
52
53
53
54
const cwd = process . cwd ( ) ;
@@ -89,7 +90,7 @@ const overridePackage = args.flags['-p'] || args.flags['--package'];
89
90
}
90
91
91
92
const paths = await globby (
92
- ( args . input ? [ args . input ] : defaultPaths ) . concat (
93
+ ( args . inputs ?. length ? [ ... args . inputs ] : defaultPaths ) . concat (
93
94
parseIgnoreConfig ( overrideIgnore . split ( ',' ) . join ( EOL ) )
94
95
) ,
95
96
{
You can’t perform that action at this time.
0 commit comments