Fix GH #210: bd init --no-db now creates metadata.json and config.yaml

Problem: bd init --no-db returned early (line 131) before creating config files,
causing 'no beads database found' errors on subsequent commands.

Solution:
- Extracted createConfigYaml() helper function
- Call it in both --no-db and normal paths
- Create metadata.json in --no-db path before early return

Fixes bd-c66a
This commit is contained in:
Steve Yegge
2025-11-03 10:35:21 -08:00
parent 3c87fdd928
commit 39840f6b67
2 changed files with 85 additions and 58 deletions

File diff suppressed because one or more lines are too long