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>
10 lines
214 B
Text
10 lines
214 B
Text
# Test bd export command
|
|
bd init --prefix test
|
|
bd create 'Test issue'
|
|
bd export -o export.jsonl
|
|
exists export.jsonl
|
|
|
|
# Verify the exported file contains the issue
|
|
bd import export.jsonl
|
|
bd list
|
|
stdout 'Test issue'
|