Skip to content

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

Closed
@jonsequitur

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);

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions