Skip to content

[jobs-cli] runparser.add_argument from dictionary

Raymond Ndibe requested to merge extract_keys_from_argparse into main

create a dictionary with all the arguments to be passed to runparser.add_arguments.

This allows us to replace KNOWN_YAML_KEYS with the same dictionary, eliminating the risk of runparser args and KNOWN_YAML_KEYS being out of sync.

Signed-off-by: Ndibe Raymond Olisaemeka rolisaemeka-ctr@wikimedia.org

Edited by Raymond Ndibe

Merge request reports