Console commands VS Commandlets

i tried to add a commandlet to my editorModule and engine always failed to recognize it. for sure same going to happen for plugin.

Beides of that At answers.unrealengine.com 80% question related to commandlet remained unAnswered.
SO Can u plz provide an example of how to add commandlet to Editor Module or plugin?

Here i also have opened a thread :

still no answer.