def arg_name_to_key(name):
    """Converts a command line argument name to a dictionary key
    Example: --db-host -> DB_HOST
    """
    if name.startswith("--"):
        return name[2:].upper().replace("-", "_")
    return None