Added the start of the db create

Need to do insert (obv), recall, search by name (get the whole name column), and
then display nicely.

Also renamed / used more correctly the "data" folder. I should use cache for
the downloaded .json file from scryfall though
This commit is contained in:
2025-08-15 01:47:13 +01:00
parent 4f095c55ec
commit 5dfdff17c1
2 changed files with 60 additions and 16 deletions

View File

@@ -1,4 +1,5 @@
use clap::Parser;
use scryfall_deser::init_db;
#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]
@@ -19,4 +20,6 @@ fn main() {
}
let search_string = card_name.join(" ");
dbg!(search_string);
init_db();
}