Commit graph

3 commits

Author SHA1 Message Date
Matthew Endsley
71d7ae593b
feat: add --design-file flag for reading design from files
Adds support for reading design content from files or stdin, making it easier to manage longer design notes.

The new `--design-file` flag is mutually exclusive with the inline `--design` flag. Includes comprehensive tests for all code paths.
2026-03-11 12:25:23 -07:00
jasper
f1a299d15d feat: add --stdin flag as alias for --body-file - on bd create/update (bd-gz2o)
Adds --stdin boolean flag to bd create and bd update that reads the
description from stdin. This is a natural desire path -- agents frequently
try --stdin before discovering --body-file -. Uses cobra
MarkFlagsMutuallyExclusive to prevent conflicts with other description flags.
2026-03-02 15:34:08 -08:00
darcy
7033f0c184 test(create): add tests for --body-file and --description-file flags (bd-hy9p)
Cover readBodyFile (file, stdin, empty, binary, special chars, nonexistent)
and getDescriptionFlag (all flag variants, precedence, aliases).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-05 18:38:59 -08:00