<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Additionally you can check out this code if it is what you're looking for.</div>

<div>https://github.com/tpinky/shellDriva/blob/master/opencms.shell.extension/src/main/java/additionalcommands/ModuleCommands.java</div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Gesendet:</b> Donnerstag, 04. Dezember 2014 um 20:47 Uhr<br/>
<b>Von:</b> Thomas <cms_questioner@gmx.de><br/>
<b>An:</b> opencms-dev@opencms.org<br/>
<b>Betreff:</b> Re: [opencms-dev] Publishing (via CmsShell?)</div>

<div name="quoted-content">If you invoke the CmsShell programmatically you can add a class with to it.<br/>
The class should implement the I_CmsShellCommands interface.<br/>
I'm not sure if it's exactly that what you looking for.<br/>
Greetings<br/>
Thomas<br/>
<br/>
_______________________________________________<br/>
This mail is sent to you from the opencms-dev mailing list<br/>
To change your list options, or to unsubscribe from the list, please visit<br/>
<a href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev" target="_blank">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a><br/>
<br/>
<br/>
 </div>
</div>
</div>
</div></div></body></html>