fix: remove nonexistent -i flag from bd import references#3200
Merged
Conversation
The bd import command takes a positional file argument, not a -i flag. Three files referenced the nonexistent flag: - cmd/bd/testdata/import.txt (testscript fixture) - cmd/bd/testdata/export.txt (testscript fixture) - CLAUDE.md (documentation) Also updated CLAUDE.md comment from 'SQLite cache' to 'Dolt database' to reflect the current storage backend. Fixes bd-6nr, related to bd-7ds. Amp-Thread-ID: https://ampcode.com/threads/T-019d7da6-5933-71c3-87bf-45fb4594ef25 Co-authored-by: Amp <amp@ampcode.com>
mzlee
pushed a commit
to mzlee/beads
that referenced
this pull request
Apr 22, 2026
…l#3200) The bd import command takes a positional file argument, not a -i flag. Three files referenced the nonexistent flag: - cmd/bd/testdata/import.txt (testscript fixture) - cmd/bd/testdata/export.txt (testscript fixture) - CLAUDE.md (documentation) Also updated CLAUDE.md comment from 'SQLite cache' to 'Dolt database' to reflect the current storage backend. Fixes bd-6nr, related to bd-7ds. Amp-Thread-ID: https://ampcode.com/threads/T-019d7da6-5933-71c3-87bf-45fb4594ef25 Co-authored-by: Amp <amp@ampcode.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
bd importcommand takes a positional file argument, not a-iflag. Three files referenced the nonexistent flag, causing the post-merge hook to fail silently and then tell users to run a command that also fails.Changes
cmd/bd/testdata/import.txt—bd import -i import.jsonl→bd import import.jsonlcmd/bd/testdata/export.txt—bd import -i export.jsonl→bd import export.jsonlCLAUDE.md—bd import -i .beads/issues.jsonl→bd import .beads/issues.jsonl, also updated comment from 'SQLite cache' to 'Dolt database'Context
After
git pull, the old post-merge hook (which usedbd import -i) would fail with:Running the suggested command gives:
The current managed hooks (
bd hooks install) don't have this problem, but the testdata fixtures and docs still referenced the old syntax.