Here is an example TCL script:
==========================
#change directory to where the deployment tool can be invoked:
cd "C:/lscc/radiant/2024.2/programmer/bin/nt64/"
exec ddtcmd -oft -sspi -if "C:/Users/jmanguba/Downloads/erase_only.xcf" -ofa "C:/Users/jmanguba/Downloads/erase_only_algo.sea" -ofd "C:/Users/jmanguba/Downloads/erase_only_data.sed"
==========================
Example of execution
> set PATH=C:/lscc/radiant/2024.2/tcltk/windows/BIN;$PATH
> tclsh
% source <your tcl script>