Skip to content

Commit

Permalink
[Upd] started fixing database
Browse files Browse the repository at this point in the history
  • Loading branch information
Minigrim0 committed Jan 18, 2024
1 parent faf62bf commit 37a64e2
Show file tree
Hide file tree
Showing 5 changed files with 267 additions and 18 deletions.
240 changes: 231 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ edition = "2021"
[dependencies]
colored = "2.0.0"
diesel = { version = "2.1.0", features = ["sqlite"] }
dotenvy = "0.15"
clap = { version = "4.0", features = ["derive"] }
chrono = "0.4.26"
directories = "5.0.1"
diesel_migrations = { version = "2.1.0", features = ["sqlite"] }
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub mod parser;
use crate::cli::Cli;
use parser::parse_args;


fn main() {
utils::ensure_db_path();
parse_args(Cli::parse());
}
Loading

0 comments on commit 37a64e2

Please sign in to comment.