We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Minimist supports a dotted notation that may be used to build an object tree from args:
$ node index.js --foo.bar=x { _: [], foo: { bar: 'x' } }
This PR is a feature request to extend this syntax for arrays.
Ideas:
--foo.0.bar=x
foo: [ bar: 'x' ]
--a.0.b
--foo[0].bar=x
--a[1].b
Some thoughts have already been discussed in the first PR.
The text was updated successfully, but these errors were encountered:
Closed due to comment.
Sorry, something went wrong.
No branches or pull requests
Minimist supports a dotted notation that may be used to build an object tree from args:
$ node index.js --foo.bar=x { _: [], foo: { bar: 'x' } }
This PR is a feature request to extend this syntax for arrays.
Ideas:
--foo.0.bar=x
⇒foo: [ bar: 'x' ]
- [New] Support for arrays in dotted notation (--a.0.b
) #66--foo[0].bar=x
⇒foo: [ bar: 'x' ]
- [New] Support for arrays in dotted notation (--a[1].b
) #68Some thoughts have already been discussed in the first PR.
The text was updated successfully, but these errors were encountered: