Skip to content

Conversation

@ffontaine
Copy link
Collaborator

@ffontaine ffontaine commented Dec 9, 2025

Obviously, --import-json is mainly useful when db doesn't exist so drop cvedb_orig.check_db_exists() from if statement

Moreover, do not exit after --import-json or --export-json to be consistent with --import and --export

Finally, while at it, add --{im,ex}port-json to offline.md

@ffontaine ffontaine force-pushed the update-offline-doc branch 2 times, most recently from ecdaeab to a551989 Compare December 9, 2025 18:42
Obviously, --import-json is mainly useful when db doesn't exist so drop
cvedb_orig.check_db_exists() from if statement

Moreover, do not exit after --import-json or --export-json to be
consistent with --import and --export

Finally, while at it, add --{im,ex}port-json to offline.md

Signed-off-by: Fabrice Fontaine <[email protected]>
@ffontaine ffontaine changed the title feat(doc): update offline.md fix: do not expect db to exist with --import-json Dec 9, 2025
@ffontaine ffontaine changed the title fix: do not expect db to exist with --import-json fix: do not expect db to exist with --import-json Dec 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant