Skip to content

Two properties for parsed options? #13

@shadowspawn

Description

@shadowspawn

The current description has two properties for identified options, and an option with a value appears in both:

args {Object}, having properties and Boolean values corresponding to parsed options passed
values {Object}, have properties and String values corresponding to parsed options passed

I found this a bit unexpected, and unlike what I see in other implementations (Commander, Yargs, et al).

If this a deliberate design decision? I didn't find any discussion that led to this, and don't want to go too deep on commentary if it is a somewhat accidental iteration as functionality has been added!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions