Skip to content

document: コメントの追加・取得・更新・削除サブコマンドを追加#23

Merged
buty4649 merged 1 commit intomainfrom
worktree-document-comments
Apr 17, 2026
Merged

document: コメントの追加・取得・更新・削除サブコマンドを追加#23
buty4649 merged 1 commit intomainfrom
worktree-document-comments

Conversation

@buty4649
Copy link
Copy Markdown
Contributor

Summary

  • xp document comment add <docid> --content ... [--attention]: コメント追加 (POST /api/v1/documents/{docid}/comments)
  • xp document comment get <docid>: コメント一覧 (GET /api/v1/documents/{docid}/comments)
  • xp document comment edit <docid> <seq> [--content] [--attention 0|1]: コメント更新 (PATCH /api/v1/documents/{docid}/comments/{seq})
  • xp document comment delete <docid> <seq> [-y]: コメント削除 (DELETE /api/v1/documents/{docid}/comments/{seq}、確認プロンプトあり)
  • xp schema document.comment.add/get/edit/delete を追加

Test plan

  • go build ./...
  • go test ./...
  • golangci-lint run ./...
  • go run . document comment --help / go run . schema document.comment.add の出力確認

🤖 Generated with Claude Code

- xp document comment add <docid>: POST /api/v1/documents/{docid}/comments
- xp document comment get <docid>: GET /api/v1/documents/{docid}/comments
- xp document comment edit <docid> <seq>: PATCH /api/v1/documents/{docid}/comments/{seq}
- xp document comment delete <docid> <seq>: DELETE /api/v1/documents/{docid}/comments/{seq}
- schema document.comment.add/get/edit/delete を追加

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@buty4649 buty4649 self-assigned this Apr 17, 2026
@buty4649 buty4649 enabled auto-merge (squash) April 17, 2026 07:33
@buty4649 buty4649 merged commit 9d29113 into main Apr 17, 2026
2 checks passed
@buty4649 buty4649 deleted the worktree-document-comments branch April 17, 2026 07:33
@pepabo-pr-maker pepabo-pr-maker Bot mentioned this pull request Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant