The following example shows how to open a terminal session (assuming you have Moneyworks in it's standard location.
In this example a file without a user/pass is opened, and a budget is set.


Macbook-Craig-2:MacOS juliet$ cd /Applications/Moneyworks\ Gold.app/Contents/MacOS/
Macbook-Craig-2:MacOS juliet$ moneyworks -iv
MoneyWorks Gold 6.0.1 interactive mode. Type 'quit' or ctrl-D to exit.
open login=" : " file="/Users/juliet/Desktop/INF consolidator/INF MW Data for Craig/v6/Consolidated v6.mwd6"
Open succeeded
evaluate expr="SetBudget(`A`,`C110T01`,'15/8/09',`10878`)"
0
quit
Macbook-Craig-2:MacOS juliet$