GoDaddyPy CLI
A beautiful and interactive command-line interface for managing GoDaddy domains and DNS records.
Features
✨ Interactive Mode - Navigate through menus to manage domains without remembering commands
🎨 Beautiful Output - Colorful, well-formatted tables and progress indicators
🔍 Easy to Use - Simple commands with smart confirmation prompts
🛠 Powerful - Complete control over your GoDaddy domains and DNS records
Installation
# Install from PyPI
pip install godaddypy-cli
Configuration
There are three ways to provide your GoDaddy API credentials:
-
Environment variables (recommended):
export GODADDY_TOKEN=YOUR_API_KEY export GODADDY_SECRET=YOUR_API_SECRET
-
Command-line arguments:
godaddy --key YOUR_API_KEY --secret YOUR_API_SECRET domains
-
Interactive prompt: If credentials aren't provided, the CLI will securely prompt for them in interactive mode.
Usage
Interactive Mode (Recommended)
Simply run:
godaddy -i
This launches an interactive menu where you can:
- Browse and manage domains
- View, add, update, and delete DNS records
- Get guided through all operations with clear prompts
Command Line Mode
List all domains
godaddy domains
Get all DNS records for a domain
godaddy records example.com
Get specific DNS records
godaddy records example.com --type A --name www
Add a DNS record
godaddy add example.com --name www --type A --data 192.168.1.1 --ttl 3600
Update a DNS record
godaddy update example.com --name www --type A --data 192.168.1.2
Delete DNS records
godaddy delete example.com --name www --type A
JSON Output
Add the --json flag to any command to get JSON output:
godaddy records example.com --json
Requirements
- Python 3.7+
- GoDaddy API credentials (get them from GoDaddy Developer Portal)
Development
# Clone the repository
git clone https://github.com/connorodea/godaddypy-cli.git
cd godaddypy-cli
# Install in development mode
pip install -e .
# Run tests
pytest
License
MIT
Metadata
Release files for godaddypy-cli 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| godaddypy_cli-0.1.4.tar.gz | 9.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| godaddypy_cli-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.9 kB
Release files / godaddypy_cli-0.1.4.tar.gz
| Download URL | godaddypy_cli-0.1.4.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
810305afaeac2668e60602b88aabe415e48318817c58f0019df82d6db806539e
|
|
BLAKE2b-256 checksum How to use checksums |
34254fbd2a17b74bd9a52cdb5a3c155f0b8ea12744cacfb8d9fdbf56f906325a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|
Release files / godaddypy_cli-0.1.4-py3-none-any.whl
| Download URL | godaddypy_cli-0.1.4-py3-none-any.whl |
|---|---|
| Size | 7.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c28957eeef4e672d45df792fa08036db3b6188a74884276c09467aaeac6fa936
|
|
BLAKE2b-256 checksum How to use checksums |
c297326a67f50fc82fe79e2fa74245e745671e313058f31bf83bbd3742d54867
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.11
|