Hostinger API CLI
https://developers.hostinger.com β// readme
Hostinger API CLI
hostinger is the command line interface for the Hostinger 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
Upgrade with brew upgrade hostinger. Shell tab-completion (bash/zsh/fish) and man pages
(man hostinger) are installed automatically.
Binary download
Download the binary for your platform from the
releases page. Then enable tab-completion
with hostinger completion install (see AUTOCOMPLETE.md).
Configuration
Sign in through the browser:
hostinger auth login
or use an API token instead: run hostinger config set api_token (it asks for the token
without echoing it) or set theβ¦