Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

array options should accept optional type parameter #6

Closed
bcoe opened this issue Feb 13, 2016 · 2 comments · Fixed by #132
Closed

array options should accept optional type parameter #6

bcoe opened this issue Feb 13, 2016 · 2 comments · Fixed by #132

Comments

@bcoe
Copy link
Member

bcoe commented Feb 13, 2016

see: yargs/yargs#372

something like:

parser([], {
  array: ['a', {key: 'b', type: 'string'}]
})
@ezze
Copy link
Contributor

ezze commented Jul 2, 2018

@bcoe, what is the status of this?

@iilei
Copy link
Contributor

iilei commented Aug 22, 2018

I might be able to help with a patch.

iilei added a commit to iilei/yargs-parser that referenced this issue Aug 22, 2018
iilei added a commit to iilei/yargs-parser that referenced this issue Oct 6, 2018
@bcoe bcoe closed this as completed in #132 Oct 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants