Deploying Cube on Schema Workbench - Using Command Line
===

Does anyone know how to deploy Mondrian cubes without using Pentaho Scheme Workbench UI tool? Net search reveals there is some PublishToServerCommand class that is part of SW source, but I found no examples for its use on the Net. Any ideas? 