feat(create): add require-description config option (GH#596)
Add create.require-description config option that enforces descriptions when creating issues. When enabled, bd create will error if no description is provided (except for test issues). - Config in .beads/config.yaml or ~/.config/bd/config.yaml - Also supports BD_CREATE_REQUIRE_DESCRIPTION env var - Default: false (preserves current behavior with warning) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -109,6 +109,9 @@ func Initialize() error {
|
||||
// Push configuration defaults
|
||||
v.SetDefault("no-push", false)
|
||||
|
||||
// Create command defaults
|
||||
v.SetDefault("create.require-description", false)
|
||||
|
||||
// Read config file if it was found
|
||||
if configFileSet {
|
||||
if err := v.ReadInConfig(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user