Beautiful Command Line Interface for GoDaddy API using GoDaddyPy
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file godaddypy_cli-0.1.0.tar.gz.
File metadata
- Download URL: godaddypy_cli-0.1.0.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5027d411b746e4b92d547b58478855772eaf285309187efc0f86aa001ace308
|
|
| MD5 |
13a29d95b4ffa20a9b83db7b1725d936
|
|
| BLAKE2b-256 |
1609ba32c9337dc664f6099a7c9bc44ffffe34e0396442f4681b803d0e6e4e91
|
File details
Details for the file godaddypy_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: godaddypy_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75ce6ea119c3f34a9b8001e9b4f8d0782fe700c2ed72900ec77e09d103bd566d
|
|
| MD5 |
e3579d29570e4bd5dc647fa9f15325e2
|
|
| BLAKE2b-256 |
34bb8e5e0d6cb91d71af3c7d879ee8e4a8700c1de0e65b5d25d77f00c772ac43
|