* fix(label): support comma-separated multi-label add/remove; fail hard on bad issue IDs (bd-vu5kv) 'bd label add <id> a b c' silently applied only 'c': the grammar treats the last arg as THE label and everything before it as issue IDs, and unresolvable IDs were skipped with a stderr warning while the command exited 0. An agent hit this in the wild and only noticed because 'bd ready --label ...' came back empty. Two changes: - The final positional arg now splits on commas, so 'bd label add bd-123 a,b,c' adds all three labels in one transaction (same convention as 'bd create --labels a,b,c'). Same for remove. - Issue-ID args that fail to resolve are now a hard error before any mutation, instead of warn-and-continue. When several ID-position args fail, the error hints at the comma-separated form, which is exactly the space-separated-labels mistake. The reserved 'provides:' check now runs against every label in the list. Regenerated CLI reference docs (freshness probe) and updated docs/LABELS.md. Closes bd-vu5kv Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012VBUR4qkHbssPomBDuJgkQ * docs: sync website label mirrors Agent-Signature: codex-gpt-5.6-terra-high on behalf of matt wilkie --------- Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: matt wilkie <maphew@gmail.com>
1.1 KiB
1.1 KiB
| id | title | slug | sidebar_position |
|---|---|---|---|
| label | bd label | /cli-reference/label | 110 |
Generated from bd help --doc label
bd label
Manage issue labels
bd label [flags]
bd label add
Add labels to issues. Issue IDs come first; the final argument is the label. Pass multiple labels comma-separated: bd label add bd-123 label1,label2
bd label add [issue-id...] [label[,label...]] [flags]
bd label list
List labels for an issue
bd label list [issue-id] [flags]
bd label list-all
List all unique labels in the database
bd label list-all [flags]
bd label propagate
Push a label from a parent down to all direct children that don't already have it. Useful for applying branch: labels across an epic's subtasks.
bd label propagate [parent-id] [label] [flags]
bd label remove
Remove labels from issues. Issue IDs come first; the final argument is the label. Pass multiple labels comma-separated: bd label remove bd-123 label1,label2
bd label remove [issue-id...] [label[,label...]] [flags]