beads/internal/debug
Jim Wordelman bb821eed78
feat(verbosity): wire --quiet into create/close/update (bd-au0.10) (#4058)
* feat(verbosity): export debug.PrintNormal; wire --quiet into create/close/update (bd-au0.10)

Exports the previously-private printNormal/printlnNormal helpers as
debug.PrintNormal/PrintlnNormal and applies them to the three most
user-visible write commands so --quiet suppresses success output.
--verbose and error output are unaffected.

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

* test(verbosity): add TestQuietFlagSuppressesSuccessOutput embedded tests

Adds TestQuietFlagSuppressesSuccessOutput with create, update, and close
subtests that assert --quiet produces empty stdout on success. Each test
initializes a fresh embedded-Dolt beads dir, runs the command with --quiet,
and asserts stdout is empty.

Absorbed maintainer-side per synthesis fix plan — contributor's
production wiring is untouched.

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

---------

Co-authored-by: Jim Wordelman <jim@wordelman.name>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-06 22:35:42 -07:00
..
debug.go feat(verbosity): wire --quiet into create/close/update (bd-au0.10) (#4058) 2026-07-06 22:35:42 -07:00
debug_test.go feat(verbosity): wire --quiet into create/close/update (bd-au0.10) (#4058) 2026-07-06 22:35:42 -07:00