Skip to content

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

Merged
wcole1-godaddy merged 7 commits into
codex/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 into
codex/agent-first-cli-retrofitfrom
feature/api-command

Conversation

@wcole1-godaddy

Copy link
Copy Markdown
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

Comment thread tests/integration/cli-smoke.test.ts Fixed
Comment thread tests/integration/cli-smoke.test.ts Fixed
Comment thread tests/integration/cli-smoke.test.ts Fixed
Comment thread src/core/token-store.ts Fixed
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
jpage-godaddy added a commit that referenced this pull request Jun 5, 2026
Bump cli-engine to the published 0.1.3 (dropping the temporary local path
patch) and register root next-actions so bare `godaddy` returns JSON
discovery for agents and human help + suggested actions in a terminal.

Addresses parity gap #2 from the PR #49 Rust-port review.
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.

2 participants