Hi Vasili,
Debug Server Scripting is what you need. It comes with CCS:
http://processors.wiki.ti.com/index.php/Debug_Server_Scripting
If all you want to do is load programs from the command line, check out the DSS example loadti:
http://processors.wiki.ti.com/index.php/Loadti
Thanks
ki