There is a way to program STM8 chips from the command line. They have a DLL that allows you to write your own programming application. The sample code they provide (apisample.exe) can be used to program from the command line. I've been using it for the last 2 months and it's been very solid.
See below for a link and some example command line snippits. http://j.mp/cuiV9e