Skip to content

feat: add payslip download command#4

Merged
brtkwr merged 1 commit into
mainfrom
feat/payslip-download
Jul 8, 2026
Merged

feat: add payslip download command#4
brtkwr merged 1 commit into
mainfrom
feat/payslip-download

Conversation

@brtkwr

@brtkwr brtkwr commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • zeltapp payslip download [YYYY-MM ...] saves payslip PDFs as <dir>/YYYY-MM.pdf (--dir, --user flags)
  • no args: downloads every month missing from --dir; naming months forces a re-download
  • client: a *[]byte out param now receives the raw response body, so commands can fetch binary endpoints (previously the JSON decode made PDF downloads impossible)

Test plan

  • go build ./... && go test ./... pass
  • Manually downloaded 4 real payslips (2026-03 to 2026-06) and verified %PDF magic + rendered content

🤖 Generated with Claude Code

https://claude.ai/code/session_01VkbrnPieXm8EsJPgnybzvp

Downloads payslip PDFs as <dir>/YYYY-MM.pdf. With no args it fills the
gaps in --dir; naming months forces a re-download. Raw response bytes
are exposed to commands via a *[]byte out param in the client.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VkbrnPieXm8EsJPgnybzvp
@brtkwr brtkwr merged commit e50cb63 into main Jul 8, 2026
1 check passed
@brtkwr brtkwr deleted the feat/payslip-download branch July 8, 2026 12:48
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