Skip to content

code-check/cli-template-scala

Repository files navigation

Command line application template for Scala

Implement CLI application by editing App.java

How to get input parameters

You can get arguments as args in main method.

def main(args: Array[String]): Unit = {
  // code to run
}

How to output result

You can use println method to output your result into stdout.

println("Hellow world")

Install External Libraries

If you want to use external libraries, do the following: