From 86d48aa48b9951b6cbc471113844d16683051f8f Mon Sep 17 00:00:00 2001 From: Trim Bresilla Date: Tue, 3 Dec 2024 01:45:29 +0100 Subject: feat: implement entry management in Bibiman TUI - Add `.devbox` to the `.gitignore` file - Create a new backup file `devbox.json.back` with package and shell initialization configurations - Introduce a new method `add_entry` in the Bibiman struct to manage adding entries - Implement functionality to handle new entry submissions using `doi2bib` - Update command actions to include `AddEntry` - Add `AddEntry` as a new popup type in the TUI for creating entries - Enhance the UI rendering to support the new entry popup with input fields and cursor positioning --- devbox.json.back | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 devbox.json.back (limited to 'devbox.json.back') diff --git a/devbox.json.back b/devbox.json.back new file mode 100644 index 0000000..ff6dc1e --- /dev/null +++ b/devbox.json.back @@ -0,0 +1,26 @@ +{ + "packages": [ + "rustup@latest", + "libiconv@latest", + "openssl@latest" + ], + "shell": { + "init_hook": [ + "projectDir=$PWD/.devbox", + "echo $projectDir", + "rustupHomeDir=\"$projectDir\"/.rustup", + "mkdir -p $rustupHomeDir", + "export RUSTUP_HOME=$rustupHomeDir", + "export LIBRARY_PATH=$LIBRARY_PATH:\"$projectDir/nix/profile/default/lib\"", + "rustup default stable", + "rustup component add rust-src", + "rustup component add rust-analyzer", + "cargo fetch" + ], + "scripts": { + "test": "cargo test -- --show-output", + "start": "cargo run", + "build-docs": "cargo doc" + } + } +} -- cgit v1.2.3