say
template::list::create \ ... \ -selected_format csv \ -formats { ... csv { output csv } }
Then around the end of the .tcl file, say
template::list::write_output -name listname
/Lars