feat: configurable vault location via --vault-dir flag and BDSTORAGE_VAULT env var#61
Conversation
…le vault location
|
@diksha78dev resolve merge conflicts and ensure your PR passes the CI checks. (Please see the project’s contribution guidelines before submitting a PR.) |
|
@Rakshat28 I have resolved merge conflicts |
|
Please fix the failing CI tests @diksha78dev |
…BDSTORAGE_VAULT env var
|
still failing CI tests, please read contribution guidelines of the project before submitting PR |
… resolve merge conflicts
|
Hey @diksha78dev, thanks for the PR! Before we merge this, can you please record a short video showing the new Please add it and let me know when you do so I can review and merge. |
|
@Rakshat28 Here is the requested video demonstrating the Screen.Recording.2026-05-18.162140.mp4 |
Closes #45
Problem
The vault and state DB were hardcoded to
$HOME/.imprint/, making itimpossible to use a separate drive, run multiple vaults, or use bdstorage
in CI where
$HOMEis ephemeral.Solution
--vault-dir <PATH>global CLI flag (parsed before subcommand dispatch)BDSTORAGE_VAULTenv var as fallback (handled via clap'senvattribute)$HOME/.imprint/remains the default when neither override is setvault.rsandstate.rsas a&PathparameterData Locations & Storagesection ofREADME.mdPriority Order
--vault-dirflag →BDSTORAGE_VAULTenv var →$HOME/.imprint/(default)