Skip to content

Option to disable dotted notation #70

Open
@git-developer

Description

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 issue is a request to allow a user to disable this feature, so that the above example is parsed as foo.bar: 'x' instead of foo: { bar: 'x' }.

Motivation: the dotted notation supports neither arrays nor keys containing a dot. That makes it hard to use minimist if any of these is used in the application.

Related: #67, #69

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions