I think a better solution would be to make linkCVE either automatically create new CVE records when passed as-yet-unknown ones, or accept a parameter, create_if_unknown, which tells it to do that (so the default API remains unchanged).
I think a better solution would be to make linkCVE either automatically create new CVE records when passed as-yet-unknown ones, or accept a parameter, create_if_unknown, which tells it to do that (so the default API remains unchanged).