Creating database seems alright

Unsure really whether the data is in there properly - but there
is data in there!
This commit is contained in:
2025-08-16 03:41:51 +01:00
parent da121940da
commit ff4c58113f
4 changed files with 44 additions and 6 deletions

View File

@@ -1,5 +1,7 @@
use clap::Parser;
use scryfall_deser::get_local_cache_folder;
use scryfall_deser::init_db;
use scryfall_deser::update_db_with_file;
#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]
@@ -22,4 +24,7 @@ fn main() {
dbg!(search_string);
init_db();
let mut path = get_local_cache_folder();
path.push("oracle-cards-20250814210711.json");
update_db_with_file(path);
}