nim-libp2p-experimental/tests/pubsub/config.nims

10 lines
188 B
Nim

import strutils
proc hasSkipParentCfg: bool =
for param in 0..<paramCount():
if "skipParent" in paramStr(param):
return true
when hasSkipParentCfg():
import ../config.nims