beads/cmd/bd/import_path.go
2026-05-19 13:37:32 -04:00

17 lines
352 B
Go

package main
import (
"path/filepath"
"github.com/steveyegge/beads/internal/config"
)
const defaultImportJSONLPath = "issues.jsonl"
func configuredImportJSONLPath(beadsDir string) string {
importPath := config.GetString("import.path")
if importPath == "" {
importPath = defaultImportJSONLPath
}
return filepath.Join(beadsDir, importPath)
}