feat: add payslip download command#4
Merged
Merged
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
zeltapp payslip download [YYYY-MM ...]saves payslip PDFs as<dir>/YYYY-MM.pdf(--dir,--userflags)--dir; naming months forces a re-download*[]byteout 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%PDFmagic + rendered content🤖 Generated with Claude Code
https://claude.ai/code/session_01VkbrnPieXm8EsJPgnybzvp