Skip to content

Commit

Permalink
Fix setting multiple of some CLI flags
Browse files Browse the repository at this point in the history
Fixes #495
  • Loading branch information
sindresorhus committed Aug 31, 2020
1 parent 27549c2 commit ead63be
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions cli-main.js
Expand Up @@ -56,13 +56,16 @@ const cli = meow(`
type: 'string'
},
env: {
type: 'string'
type: 'string',
isMultiple: true
},
global: {
type: 'string'
type: 'string',
isMultiple: true
},
ignore: {
type: 'string'
type: 'string',
isMultiple: true
},
space: {
type: 'string'
Expand All @@ -77,10 +80,12 @@ const cli = meow(`
type: 'string'
},
plugin: {
type: 'string'
type: 'string',
isMultiple: true
},
extend: {
type: 'string'
type: 'string',
isMultiple: true
},
open: {
type: 'boolean'
Expand All @@ -89,7 +94,8 @@ const cli = meow(`
type: 'boolean'
},
extension: {
type: 'string'
type: 'string',
isMultiple: true
},
esnext: {
type: 'boolean'
Expand Down

0 comments on commit ead63be

Please sign in to comment.