console4cats

Build Status Maven Central Cats friendly

Effect-type agnostic Console I/O for Cats Effect

import cats.effect.IO
import cats.effect.Console.io._

val program: IO[Unit] =
  readLn.flatMap(name => putStrLn(s"Hello $name!"))

Getting started

Add the dependency to your project:

libraryDependencies += "com.github.gvolpe" %% "console4cats" % Version

Usage

See the usage guide.