chore: Release
feat: Add autocomplete for domain flag
feat: Add config init
CLI for Migadu and Go-package for interacting with Migadu.
This project is not endorsed or affiliated by Migadu-Mail GmbH.
Using go:
go install git.sr.ht/~timharek/migadu@latest
Select the version you want to install available releases and download
it and add it to your bin
or something similar.
Example:
wget https://git.sr.ht/~timharek/migadu/refs/download/<release>/migadu-<version>-linux-amd64.tar.gz
tar xf migadu-<version>-linux-amd64.tar.gz
cd migadu-<version>
cp migadu /usr/local/bin
# Get help
migadu --help
# Listing all mailboxes for a domain
migadu mailbox list --domain example.org
import (
"git.sr.ht/~timharek/migadu/migadu"
"git.sr.ht/~timharek/migadu/migadu/mailbox"
)
func whatever() {
m, err := migadu.New(migadu.Config{Domain: "example.org"})
mailboxLocalPart := "example"
list, err := mailbox.List(mailboxLocalPart)
// Use the data
}
Anyone can contribute to Migadu. Please refer to the contribution guidelines.
Send patches to the mailing list, report bugs on the issue tracker.