def get_code_coverage_threshold(cli_arguments, config):
    """Get the code coverage threshold that can be specified in the config file or via CLI."""
    return cli_arguments.code_coverage_threshold or config.get_overall_code_coverage_threshold()