Skip to content

feat: add godaddy api command for direct API access#2

Merged
wcole1-godaddy merged 7 commits intocodex/agent-first-cli-retrofitfrom
feature/api-command
Feb 23, 2026
Merged

feat: add godaddy api command for direct API access#2
wcole1-godaddy merged 7 commits intocodex/agent-first-cli-retrofitfrom
feature/api-command

Conversation

@wcole1-godaddy
Copy link
Contributor

Add a new command that allows direct, authenticated requests to any GoDaddy API endpoint, similar to gh api and vercel api. Features:

  • Support for all HTTP methods (GET, POST, PUT, PATCH, DELETE)
  • Field arguments (-f key=value) and JSON file body (-F path)
  • Custom headers (-H "Key: Value")
  • JSON path queries for filtering output (-q .path.to.value)
  • Response header display (-i, --include)
  • Debug mode shows request/response details (--debug)
  • Proactive token expiry checking with helpful messages
  • Specific handling for 401/403 responses

Also includes:

  • Comprehensive documentation in README
  • Unit tests for API module and command
  • Improved test reliability for CI environments

wcole1-godaddy and others added 6 commits February 22, 2026 20:44
Add a new command that allows direct, authenticated requests to any
GoDaddy API endpoint, similar to `gh api` and `vercel api`. Features:

- Support for all HTTP methods (GET, POST, PUT, PATCH, DELETE)
- Field arguments (-f key=value) and JSON file body (-F path)
- Custom headers (-H "Key: Value")
- JSON path queries for filtering output (-q .path.to.value)
- Response header display (-i, --include)
- Debug mode shows request/response details (--debug)
- Proactive token expiry checking with helpful messages
- Specific handling for 401/403 responses

Also includes:
- Comprehensive documentation in README
- Unit tests for API module and command
- Improved test reliability for CI environments

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@wcole1-godaddy wcole1-godaddy changed the base branch from main to codex/agent-first-cli-retrofit February 23, 2026 02:19
@wcole1-godaddy wcole1-godaddy merged commit e7e5304 into codex/agent-first-cli-retrofit Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant