mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-02 14:03:06 +00:00
* introduce createNode # Conflicts: # apps/wakunode2/cli_args.nim * remove confutils dependency on the library * test: remove websocket in default test config * update to latest specs * test: cli_args * align to spec changes (sovereign, message conf, entrypoints * accept enr, entree and multiaddr as entry points * post rebase * format * change from "sovereign" to "core" * add example * get example to continue running * nitpicks * idiomatic constructors * fix enum naming * replace procs with consts * remove messageConfirmation * use pure enum * rename example file
17 lines
399 B
Nim
17 lines
399 B
Nim
{.push raises: [].}
|
|
|
|
import confutils/defs as confutilsDefs
|
|
import ./envvar_serialization
|
|
|
|
export envvar_serialization, confutilsDefs
|
|
|
|
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
|