mwb2sql is a shell command utility to produce sql file from mwb file (file format of MySQL Workbench).
mwb2sql.bat sample/test.mwb a.sql
sh mwb2sql.sh sample/test.mwb a.sql
Xvfb :1 &
DISPLAY=:1 sh mwb2sql.sh sample/test.mwb a.sql
generateSQLCreateStatements
function seems to have a option that control the behavior of dumping sql, but the option has no effect. (I can't find the way to enable the option).