summaryrefslogtreecommitdiff
path: root/internal/keepass/write.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-18 08:14:23 +0300
committerPaul Buetow <paul@buetow.org>2026-04-18 08:14:23 +0300
commitdfd6bc30afefba57a34aa2d3d2e384701c3cf28e (patch)
treed5ca36d41868dc53d5ae0bd84d4d2dfd945a08c5 /internal/keepass/write.go
parente9ba8589491fcaae475627f0dd613b4ba21ee442 (diff)
feat: add --kdbx-path CLI flag to override KeePass database path at runtime
Allows specifying the .kdbx file path without editing the config file: foostore --backend keepass --kdbx-path /path/to/db.kdbx ls The flag overrides cfg.KDBXPath for the process lifetime. Implemented by extracting a shared parseFlagValue helper used by both parseBackendFlag and the new parseKDBXPathFlag. Help text updated to document both global flags. Table-driven tests added for parseKDBXPathFlag (mirrors TestParseBackendFlag). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Diffstat (limited to 'internal/keepass/write.go')
0 files changed, 0 insertions, 0 deletions