Skip to content

Finalize variable names for arguments returned by parse #12

Closed
@shadowspawn

Description

@shadowspawn

I am unsure what semantic meaning to give args as a name in the returned object. To be fair, this is made worse by my experience with Commander, where program.args are the "positionals" left after parsing by removing the options and option-values.

I suspect it is short for "arguments" and skirting around what terminology to use. I think is reasonable to describe the input parameters to parseArgs as "arguments", but less clear when talking about the results of parsing.

The Initial Proposal returned options and positionals, and raised the question of terminology (and used "Flags", "Options", "Positionals"):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions