2024-06-28 16:04:57 +05:30
|
|
|
{.push raises: [].}
|
2022-11-03 17:58:48 +01:00
|
|
|
|
2024-03-16 00:08:47 +01:00
|
|
|
import confutils/defs as confutilsDefs
|
|
|
|
import ../../envvar_serialization
|
2022-11-03 17:58:48 +01:00
|
|
|
|
2024-03-16 00:08:47 +01:00
|
|
|
export envvar_serialization, confutilsDefs
|
2022-11-03 17:58:48 +01: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
|