Skip to content

document: 承認状況取得サブコマンドを追加#20

Merged
buty4649 merged 1 commit into
mainfrom
worktree-document-status
Apr 17, 2026
Merged

document: 承認状況取得サブコマンドを追加#20
buty4649 merged 1 commit into
mainfrom
worktree-document-status

Conversation

@buty4649
Copy link
Copy Markdown
Contributor

Summary

  • xp document status <docid> サブコマンドを追加し、GET /api/v1/documents/{docid}/status を呼び出せるようにしました
  • --history フラグで全バージョンの承認履歴を含めて取得可能
  • --jq フラグで gojq フィルタに対応
  • xp schema document.status からレスポンススキーマを確認可能

Test plan

  • go build ./... 成功
  • go test ./... 成功(client / schema のユニットテスト追加)
  • golangci-lint run ./... 0 issues
  • xp document status --help / xp schema document.status の出力を目視確認

🤖 Generated with Claude Code

GET /api/v1/documents/{docid}/status を呼び出す `xp document status`
サブコマンドを追加。--history で全バージョンの承認履歴取得、
--jq で gojq フィルタに対応。

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:09
@buty4649 buty4649 merged commit 02abf13 into main Apr 17, 2026
2 checks passed
@buty4649 buty4649 deleted the worktree-document-status branch April 17, 2026 07:09
@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