Skip to content

Commit ead63be

Browse files
committedAug 31, 2020
Fix setting multiple of some CLI flags
Fixes #495
1 parent 27549c2 commit ead63be

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed
 

Diff for: ‎cli-main.js

+12-6
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,16 @@ const cli = meow(`
5656
type: 'string'
5757
},
5858
env: {
59-
type: 'string'
59+
type: 'string',
60+
isMultiple: true
6061
},
6162
global: {
62-
type: 'string'
63+
type: 'string',
64+
isMultiple: true
6365
},
6466
ignore: {
65-
type: 'string'
67+
type: 'string',
68+
isMultiple: true
6669
},
6770
space: {
6871
type: 'string'
@@ -77,10 +80,12 @@ const cli = meow(`
7780
type: 'string'
7881
},
7982
plugin: {
80-
type: 'string'
83+
type: 'string',
84+
isMultiple: true
8185
},
8286
extend: {
83-
type: 'string'
87+
type: 'string',
88+
isMultiple: true
8489
},
8590
open: {
8691
type: 'boolean'
@@ -89,7 +94,8 @@ const cli = meow(`
8994
type: 'boolean'
9095
},
9196
extension: {
92-
type: 'string'
97+
type: 'string',
98+
isMultiple: true
9399
},
94100
esnext: {
95101
type: 'boolean'

0 commit comments

Comments
 (0)
Please sign in to comment.