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
Worked for me:
$ sbt "run someNumber"
Also this may be of some help:
def main(args: Array[String]) { val n = args(0).toInt }