I need to develop a command line application building on the CDT eclipse plug in.
I see how to develop a plug in activator, but all these seem to be meant to react to commands from the GUI, or from commands from other plugin.

Can you point me to the proper way of building a command line tool, that is: a main, starting the plugin machinery, and then interacting with the plugin I need to use?