initial version of Discover command extension

ported from codeplex nuget fork