22 lines
550 B
Nim
22 lines
550 B
Nim
|
# Nimbus
|
||
|
# Copyright (c) 2018 Status Research & Development GmbH
|
||
|
# Licensed under either of
|
||
|
# * Apache License, version 2.0, ([LICENSE-APACHE](LICENSE-APACHE))
|
||
|
# * MIT license ([LICENSE-MIT](LICENSE-MIT))
|
||
|
# at your option.
|
||
|
# This file may not be copied, modified, or distributed except according to
|
||
|
# those terms.
|
||
|
|
||
|
import config, asyncdispatch
|
||
|
|
||
|
when isMainModule:
|
||
|
var message: string
|
||
|
if processArguments(message) != Success:
|
||
|
echo message
|
||
|
quit(QuitFailure)
|
||
|
else:
|
||
|
if len(message) > 0:
|
||
|
echo message
|
||
|
|
||
|
echo dumpConfiguration()
|