Skip to main content

Beautiful Command Line Interface for GoDaddy API using GoDaddyPy

Project description

GoDaddyPy CLI

PyPI version CI/CD License: MIT

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:

  1. Environment variables (recommended):

    export GODADDY_TOKEN=YOUR_API_KEY
    export GODADDY_SECRET=YOUR_API_SECRET
    
  2. Command-line arguments:

    godaddy --key YOUR_API_KEY --secret YOUR_API_SECRET domains
    
  3. 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

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

godaddypy_cli-0.1.4.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

godaddypy_cli-0.1.4-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file godaddypy_cli-0.1.4.tar.gz.

File metadata

  • Download URL: godaddypy_cli-0.1.4.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for godaddypy_cli-0.1.4.tar.gz
Algorithm Hash digest
SHA256 810305afaeac2668e60602b88aabe415e48318817c58f0019df82d6db806539e
MD5 4fe44a2375ef8425615959a82630fc82
BLAKE2b-256 34254fbd2a17b74bd9a52cdb5a3c155f0b8ea12744cacfb8d9fdbf56f906325a

See more details on using hashes here.

File details

Details for the file godaddypy_cli-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: godaddypy_cli-0.1.4-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

Hashes for godaddypy_cli-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c28957eeef4e672d45df792fa08036db3b6188a74884276c09467aaeac6fa936
MD5 8c2d6db5c9cd38c6936d7b0ffb8989a9
BLAKE2b-256 c297326a67f50fc82fe79e2fa74245e745671e313058f31bf83bbd3742d54867

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page