I am starting to use sbt build my Scala code (and handle dependencies). As far as I know if I use
$ sbt run
on the command line th
You simply have to quote each command (as in the second example on this page), so in your case it would be:
$ sbt "project foo" "run arg1 arg2"