def METHOD_NAME(self, config):
    results = {}
    jobs_dir = get_logs_dir()
    for result in glob(os.path.join(jobs_dir, "*/results.json")):
        with open(result, "r", encoding="utf-8") as fp:
            job = json.load(fp)
            results[job["job_id"]] = result
    subcommand = config.get("jobs_subcommand")
    if subcommand == "list":
        return self.handle_list_command(results)
    elif subcommand == "show":
        return self.handle_show_command(config)
    return exit_codes.AVOCADO_ALL_OK