fr.janalyse.sotohp.cli.SearchConfig.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sotohp-cli_3 Show documentation
Show all versions of sotohp-cli_3 Show documentation
photos management made simple
The newest version!
package fr.janalyse.sotohp.cli
import zio.*
import zio.config.*
import zio.config.magnolia.*
case class SearchConfig(
ownerId: String,
roots: String,
includeMask: Option[String],
ignoreMask: Option[String]
)
object SearchConfig {
val config =
deriveConfig[SearchConfig]
.mapKey(toKebabCase)
.nested("sotohp", "search")
}