Trytond-console and scripting

Some time ago i read that it “will"be” (at that time) to script trytond-console. has that time come ? if yes, where can i find some hint about that ?

Hi,
the trytond-console is available since version 5.2 and allows to write python code in an opened Tryton transaction on a database. Are you missing something?

i (probably misunderstood) thought it was possible to send command by script like :

trytond-console -c file.conf -d database_name -f file_with_a_script

and a file with some script
#do this
#do that
like proteus but with a script accessible from bash

You can send scripts by just using standard pipes:

trytond-console -c file.conf -d database_name < file_with_a_script

This will execute all your comands in your file.