Add a bulk help docs writer that emits the root CLI reference and website command pages from a single Cobra walk. Update the shell generator to call that mode, preserve the pure-Go docs binary guard, and refresh historical versioned CLI docs only when release snapshotting requests a specific version. Agent-Signature: codex-gpt-5.5-medium on behalf of matt wilkie
66 lines
1.1 KiB
Markdown
66 lines
1.1 KiB
Markdown
---
|
|
id: comments
|
|
title: bd comments
|
|
slug: /cli-reference/comments
|
|
sidebar_position: 999
|
|
---
|
|
|
|
<!-- AUTO-GENERATED: do not edit manually -->
|
|
Generated from `bd help --doc comments`
|
|
|
|
## bd comments
|
|
|
|
View or manage comments on an issue.
|
|
|
|
Examples:
|
|
# List all comments on an issue (issue id is required — there is no "comments list")
|
|
bd comments bd-123
|
|
|
|
# List comments in JSON format
|
|
bd comments bd-123 --json
|
|
|
|
# Add a comment
|
|
bd comments add bd-123 "This is a comment"
|
|
|
|
# Add a comment from a file
|
|
bd comments add bd-123 -f notes.txt
|
|
|
|
```
|
|
bd comments [issue-id] [flags]
|
|
```
|
|
|
|
**Flags:**
|
|
|
|
```
|
|
--local-time Show timestamps in local time instead of UTC
|
|
```
|
|
|
|
### bd comments add
|
|
|
|
Add a comment to an issue.
|
|
|
|
Examples:
|
|
# Add a comment
|
|
bd comments add bd-123 "Working on this now"
|
|
|
|
# Add a comment from a file
|
|
bd comments add bd-123 -f notes.txt
|
|
|
|
```
|
|
bd comments add [issue-id] [text] [flags]
|
|
```
|
|
|
|
**Flags:**
|
|
|
|
```
|
|
-a, --author string Add author to comment
|
|
-f, --file string Read comment text from file
|
|
```
|
|
|
|
### bd comments list
|
|
|
|
Invalid — use bd comments <issue-id> to list comments
|
|
|
|
```
|
|
bd comments list [flags]
|
|
```
|