Skip to content

Consider removing Command.AddOption, Command.AddCommand, and Command.AddArgument because they're redundant with Add #1903

Closed

Description

@jonsequitur
        // You have both Add(Option) and AddOption(Option).  Pick a paradigm.  I recommend "AddOption", since you need "AddGlobalOption" as different.
        // Also applies to Argument and Command as only having AddArgument and AddCommand.
        public void Add(Option option);
        public void Add(Argument argument);
        public void Add(Command command);
        public void AddArgument(Argument argument);
        public void AddCommand(Command command);

Activity

  1. self-assigned this
    on Nov 4, 2022
  2. added this to the 2.0 GA milestone on Nov 9, 2022
  3. KalleOlaviNiemitalo commented on Feb 28, 2023

    @KalleOlaviNiemitalo

    This was done in #1989.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions