A parser for TOML in Scala. TOML is a simple configuration language (https://github.com/toml-lang/toml).
def get(key: String): Option[Any] Get value regardless of type. Value will return None if key is not present.
def optional[A](key: String): Option[A] def opt[A](key: String): Option[A] Get value as given type A. Value will return None if key is not present or if key is present with a type other than A.
def require[A](key: String): A def req[A](key: String): A Get value as given type A. Value will throw an exception if key is not present or if key is present with a type other than A.
def seq[A: ClassTag](key: String) Shorthand for optional[Seq[A]](key).getOrElse(Seq.empty).
- Clone github repository
$ sbt publish-local
$sbt test