The NuGet command line tool is built in a very extensible fashion. For starters, every command that the command line tool exposes implements the same
ICommand interface. In addition, the tool is using the Managed Extensibility Framework (MEF) to import (actually
ImportMany) these commands within the scope of the application’s lifetime. It does this by scanning its own assemblies and a special extensions folder defined by the command line tool. This special extensions folder can be found in the following location on your system:
Note The NuGet command line tool is a very nice example ...