# Test bd create error cases

bd init --prefix test

# Create with no title should fail
! bd create
stderr 'title required'

# Create with empty title should fail
! bd create ''
stderr 'title is required'

# Create with invalid type should fail
! bd create 'Test' --type invalid-type
stderr 'invalid issue type'

# Create with invalid priority should fail
! bd create 'Test' --priority 99
stderr 'invalid priority'
