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
This works: sbt "runMain com.example.Hello arg1" or sbt "run-main com.example.Hello arg1".
sbt "runMain com.example.Hello arg1"
sbt "run-main com.example.Hello arg1"
See here for reference: https://blog.ssanj.net/posts/2016-03-02-how-to-run-a-specific-main-class-with-parameters-through-sbt.html