Skip to content

feat: mail forwards get_mailforwards read module + CLI - #51

Merged
chmmou merged 1 commit into
mainfrom
feature/mail-forwards-read
May 8, 2026
Merged

feat: mail forwards get_mailforwards read module + CLI#51
chmmou merged 1 commit into
mainfrom
feature/mail-forwards-read

Conversation

@chmmou

@chmmou chmmou commented May 8, 2026

Copy link
Copy Markdown
Owner

Summary

Adds internal/mailforward and kasapi-cli mail forwards list|get, wrapping get_mailforwards (list and singular via mail_forward filter). Second slice of #9.

KAS-API surface

Refs #9.

Add `internal/mailforward` with typed `MailForward` + `MailForwardList`,
`Client.List`/`Client.Get`, and the `kasapi-cli mail forwards list|get`
subcommand tree. The `get` variant reuses `get_mailforwards` with a
`mail_forward` filter (the source address) and unwraps the
single-entry result, mirroring the mail accounts pattern. Mapping
tests run against the shipped `testdata/mailforward/` fixtures.
Refs #9.
@chmmou
chmmou merged commit 493aabe into main May 8, 2026
1 check passed
@chmmou
chmmou deleted the feature/mail-forwards-read branch May 8, 2026 19:35
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