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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user