2024-06-28 10:34:57 +00:00
|
|
|
{.push raises: [].}
|
2022-11-03 16:58:48 +00:00
|
|
|
|
2024-03-15 23:08:47 +00:00
|
|
|
import confutils/defs as confutilsDefs
|
|
|
|
import ../../envvar_serialization
|
2022-11-03 16:58:48 +00:00
|
|
|
|
2024-03-15 23:08:47 +00:00
|
|
|
export envvar_serialization, confutilsDefs
|
2022-11-03 16:58:48 +00:00
|
|
|
|
|
|
|
template readConfutilsType(T: type) =
|
|
|
|
template readValue*(r: var EnvvarReader, value: var T) =
|
|
|
|
value = T r.readValue(string)
|
|
|
|
|
|
|
|
readConfutilsType InputFile
|
|
|
|
readConfutilsType InputDir
|
|
|
|
readConfutilsType OutPath
|
|
|
|
readConfutilsType OutDir
|
|
|
|
readConfutilsType OutFile
|