I'm not sure if this should be a global option. Can it be applied to the `map` command, too? I'm not sure, if the index is purged anyway, if you create a new mapping in elasticsearch. If so, this should rather be an option to `actionIndex()`. If not, we should also check for this setting in the `map` command.

In both cases i'd prefer if we could move the delete code into a dedicated method `deleteIndex()`, which we can call from `actionDelete()` and from `actionIndex()` (and potentially `actionMap()`). That's a bit cleaner than calling another action from inside an action.

If you agree, maybe you can update your Pull Request? If not, I can also take care of it. But will be away for some days, so this PR will have to wait for next week anyway.