pl.touk.nussknacker.ui.NussknackerApp.scala Maven / Gradle / Ivy
package pl.touk.nussknacker.ui
import cats.effect.{ExitCode, IO, IOApp}
import pl.touk.nussknacker.ui.factory.NussknackerAppFactory
object NussknackerApp extends IOApp {
override def run(args: List[String]): IO[ExitCode] = {
for {
appFactory <- IO(new NussknackerAppFactory())
_ <- appFactory.createApp().use { _ => IO.never }
} yield ExitCode.Success
}
}