This project has moved. For the latest updates, please go here.

Change the way the commands are retrieved

By default, MGR.CommandLineParser uses MEF to retrieve all classes implementing ICommand in every assemblies next to the MGR.CommandLineParser assembly. You can change this behaviour by implementing the ICommandProvider interface.

To regsiter your custom command provider, you can call the static method Parser.WithCustomCommandProvider to create a new Parser, or call DefineCommandProvider on an existing Parser.

Last edited Mar 30, 2012 at 6:19 PM by mgrosperrin, version 2