aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorlukeflo2025-06-03 17:38:49 +0200
committerlukeflo2025-06-03 17:38:49 +0200
commitd7236320fde1994fa38c5d8b85c9f81f1559fff4 (patch)
treea3ff2fe49886d6bd33f0c6627d07669b377cbd22 /src/main.rs
parent1dcb24c381990bdead5fa3df2fb95d74b176a8c1 (diff)
parent201aecebcd7c85127df9c43da01fdafc3465e53e (diff)
downloadbibiman-d7236320fde1994fa38c5d8b85c9f81f1559fff4.tar.gz
bibiman-d7236320fde1994fa38c5d8b85c9f81f1559fff4.zip
Merge pull request 'pdf-by-filename' (#28) from pdf-by-filename-#27 into main
Implemented PDF dir: + now you can set a `pdf_path` variable in the config and throuch the CLI flag `--pdf-dir` + this dir will be searched recursivley for PDF files which mathc a citekey from the used `.bib` files and connects with them + every entry can have multiple PDFs with the citekey-basename in different subdirs + the bibfile itself will not be altered + additionally, i rewrote the internal popup code for easier contribution
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index b218f9b..add1f2e 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -59,6 +59,8 @@ async fn main() -> Result<()> {
BibiConfig::default()
};
+ cfg.cli_overwrite(&parsed_args);
+
init_error_hooks()?;
// Create an application.