Creating database seems alright
Unsure really whether the data is in there properly - but there is data in there!
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user