cic-internal-integration/apps/cic-eth/cic_eth/server/config.py

10 lines
318 B
Python
Raw Normal View History

2021-11-16 14:37:16 +01:00
import cic_eth.cli
arg_flags = cic_eth.cli.argflag_std_base
local_arg_flags = cic_eth.cli.argflag_local_taskcallback
argparser = cic_eth.cli.ArgumentParser(arg_flags)
argparser.process_local_flags(local_arg_flags)
args = argparser.parse_args()
2021-11-19 14:50:13 +01:00
config = cic_eth.cli.Config.from_args(args, arg_flags, local_arg_flags)