Skip to content

Consider removing ICommand, IOption, and IArgument #1402

Closed

Description

@jonsequitur

These interfaces were originally introduced when the parser components were made mutable. They were intended provide a "read-only" API for parse results that would discourage modifying an already-configured Parser, because tracking state changes is additional overhead and complexity. But additional implementations of these interfaces aren't intended to be supported and might not work as expected. Removing them could simplify some code.

We would want to address issues that might come up from e.g. adding Option aliases after the construction of a Parser.

Activity

  1. added this to the 2.0 GA milestone on Dec 11, 2021
  2. adamsitnik commented on Dec 20, 2021

    @adamsitnik
    Member

    Can this issue be closed now since #1538 got merged?

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions