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
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