aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorlukeflo2024-09-27 14:49:37 +0200
committerlukeflo2024-09-27 14:49:37 +0200
commit3e86e1d11fa06dedde78621c3e0503a7492ad05e (patch)
tree9a1317a48825251f9f6d5000b2b2196faa06d0d7 /src/main.rs
parent576e7a39312f26ff3df24cf2eb279e6fdabbe903 (diff)
downloadbibiman-3e86e1d11fa06dedde78621c3e0503a7492ad05e.tar.gz
bibiman-3e86e1d11fa06dedde78621c3e0503a7492ad05e.zip
copy citekey action, info box init
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/main.rs b/src/main.rs
index a07b75a..6ffff25 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -50,14 +50,8 @@ async fn main() -> AppResult<()> {
std::process::exit(0);
}
- // TODO: Implement logic for CLI arguments/options which need to be handled
- // before the TUI is started
-
- let mut bib_main = BibiMain::new();
- let mut bib_data = BibiData::new(&bib_main.bibliography, &bib_main.citekeys);
-
// Create an application.
- let mut app = App::new(&mut bib_main, &mut bib_data);
+ let mut app = App::new();
// Initialize the terminal user interface.
let backend = CrosstermBackend::new(io::stdout());