Added deleteType option to index console command.

This makes develop and deploy a bit easier.