Spotfire Automation

Is it possible to automate the publish of dxp file to the server. What I want to achieve is to build a command line tool, user navigates to the dxp file and runs a command, this should save the file to the library without opening spotfire client.

I got to know that Spotfire Automation Services can be of some help in this task.

Any help or direction is highly appreciated.

Thanks