Implement CLI application by editing App.java
You can get arguments as args
in main
method.
def main(args: Array[String]): Unit = {
// code to run
}
You can use println
method to output your result into stdout.
println("Hellow world")
If you want to use external libraries, do the following:
- Add dependencies settings in build.sbt