SysEnv

com.geirolz.secret.util.SysEnv
See theSysEnv companion object
trait SysEnv[F[_]]

A simple type class to get environment variables

Type parameters

F

the effect type

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def getEnv(key: String): F[Option[String]]

Get the value of an environment variable

Get the value of an environment variable

Value parameters

key

the name of the environment variable

Attributes

Returns

the value of the environment variable, if it exists