ygojson / ygojson-tools

Tooling for the ygojson project
MIT License
1 stars 0 forks source link

Expose picocli argument to define sqlite DB mode #149

Open magicDGS opened 6 months ago

magicDGS commented 6 months ago

Currently, in https://github.com/ygojson/ygojson-tools/pull/147, we have implemented only in-memory SQL database that could be defined otherwise by the CLI caller to be persisted. Another option is to dump the database on demand with some command/parameter when building/bundling YGOJSON-data (see https://github.com/ygojson/ygojson-tools/issues/145 for the dump option).

magicDGS commented 5 months ago

More useful than #145 will be to be able to provide a path to use directly during the application run (and if not provided, configure in-memory) or use an in-memory flag and store always by default on some temporary directory.