mail-api-cli

command module
v1.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2026 License: MIT Imports: 1 Imported by: 0

README

Hostinger Mail API CLI

hostinger-mail is the command line interface for the Hostinger Mail API.

This repository is generated. Do not open pull requests here — every file is overwritten by the next generation run. The CLI is generated from the OpenAPI specification by hostinger/public-api-generator (see the cli/ directory there). Report issues or contribute in that repository.

Installation

Homebrew (macOS & Linux)
brew install hostinger/tap/hostinger-mail

Upgrade with brew upgrade hostinger-mail. Shell tab-completion (bash/zsh/fish) is installed automatically.

Binary download

Download the binary for your platform from the releases page.

Configuration

Create $HOME/.hostinger-mail.yaml:

api_token: <your API token>

or set the HOSTINGER_MAIL_API_TOKEN environment variable. Generate a token at hPanel → API.

Usage

hostinger-mail <group> <verb> [args] [flags]

Examples:

hostinger-mail account current
hostinger-mail folders list <mailbox-resource-id>
hostinger-mail messages list <mailbox-resource-id> <folder>
hostinger-mail quota get <mailbox-resource-id>

Output format defaults to a table; use --format json|table|tree to change it. Command documentation lives in docs/, and manifest.json maps every API operation to its command. Shell autocompletion: see AUTOCOMPLETE.md.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package client provides primitives to interact with the openapi HTTP API.
Package client provides primitives to interact with the openapi HTTP API.
cmd
tools
gendocs command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL