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>
8 lines
293 B
Text
8 lines
293 B
Text
# Test bd import command
|
|
bd init --prefix test
|
|
bd import import.jsonl
|
|
bd show test-99
|
|
stdout 'Imported issue'
|
|
|
|
-- import.jsonl --
|
|
{"id":"test-99","title":"Imported issue","status":"open","priority":1,"issue_type":"task","created_at":"2025-01-01T00:00:00Z","updated_at":"2025-01-01T00:00:00Z"}
|