Commit graph

2 commits

Author SHA1 Message Date
Marco Del Pin
b8ab4fed91
fix: remove stale --no-db flag references from help and errors (#1895)
The --no-db CLI flag was removed when beads switched to Dolt-only, but
several user-facing messages still referenced it:
- bd init help text mentioned "--no-db" as a valid option
- Error messages in 6 commands suggested "use 'bd --no-db'" as a fix
- Generic "no database found" hint suggested the removed flag
- Dead code block in init.go handled --no-db initialization
The config key (no-db: true in config.yaml) is still valid for the
CGO fallback path; only the CLI flag references are removed.
Fixes #1848
2026-02-20 09:23:02 -08:00
jasper
dd9d37cb12 feat: add bd sql command for raw SQL access to database (bd-x67d1)
Adds a new `bd sql` subcommand that passes raw SQL queries directly to
the underlying database (SQLite or Dolt). Supports table, JSON, and CSV
output for SELECT queries, and reports rows affected for write queries.
Write queries are blocked in read-only mode via CheckReadonly.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Executed-By: beads/polecats/jasper
Rig: beads
Role: polecats
2026-02-08 13:49:10 -08:00