peal.global_utils.integrate_argument¶
- peal.global_utils.integrate_argument(arg_name, arg_value, config)[source]¶
Write one parsed command line value into a (possibly nested) config.
A dotted
arg_namedescends into the corresponding sub-config. If the field currently holds a*Configobject,arg_valueis treated as the path of a yaml file and loaded into that config class; otherwise it is set directly.Nonemeans “not given on the command line” and is ignored.