Skip to content

Unable to register non-generic command #77

@Matthiee

Description

@Matthiee

Assume you have the following command:

public class MyCommand : Abstractions.Command.Command
{
   // ...
}

In this case it is impossible to use the following commands

var parser = new CommandLineParser();

parser.RegisterCommand<MyCommand>();

// or

parser.RegisterCommand(typeof(MyCommand));

// or

parser.DiscoverCommands(typeof(MyCommand).Assembly);

Metadata

Metadata

Assignees

Labels

Customer ReportedBugs reported by customersbugSomething isn't workingenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions