17 lines
352 B
Go
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)
|
|
}
|