Skip to content

feat(vdb): typer CLI skeleton — status / context / config

Ben requested to merge feat/vdb-cli-typer into main

Build-order step 3 of the unified vdb CLI (docs/vdb-cli-plan.md). Builds on the merged resolver (!6 (merged)).

New vdb package, runnable as python -m vdb:

  • vdb status — resolved vault + why (kubectl-style).
  • vdb context add/use/list/remove — named-vault registry.
  • vdb config get/set/enable/disable/print/list/validate/apply/migrate — delegates to the existing argparse surface (scripts/vdb_cli), config path resolved from the active vault.

typer added as runtime dep (pulls click); uv.lock updated. Engine modules stay in scripts/ via a path shim until the package move (later slice). Imports stay lazy — no textual. tests/test_vdb_cli.py covers status/context/config with an isolated XDG registry. Full suite green.

🤖 Generated with Claude Code

Merge request reports

Loading