[main] Convert app to cats-effect IOApp

This commit is contained in:
Paul Campbell 2019-04-29 20:24:10 +01:00
parent fb6d8073c4
commit a79c3320a5

View file

@ -1,9 +1,11 @@
package net.kemitix.s3thorp
object Main {
import cats.effect.{ExitCode, IO, IOApp}
import cats.syntax.all._
def main(args: Array[String]): Unit = {
println("S3Thorp - hashed sync for s3")
}
object Main extends IOApp {
override def run(args: List[String]): IO[ExitCode] =
IO(println("S3Thorp - hashed sync for s3")).as(ExitCode.Success)
}