Skip to content

Make usage primary, status as alias#16

Merged
murrayju merged 1 commit into
mainfrom
murrayju/usage-status-alias
May 21, 2026
Merged

Make usage primary, status as alias#16
murrayju merged 1 commit into
mainfrom
murrayju/usage-status-alias

Conversation

@murrayju
Copy link
Copy Markdown
Member

Promotes usage to the primary name for the space-usage command (CLI and MCP tool), with status kept as an alias so existing usage continues to work.

Changes

  • CLI: ghost statusghost usage (with status as alias). Renamed internal/cmd/status.gousage.go (plus test file) and buildStatusCmd/outputStatusbuildUsageCmd/outputUsage.
  • MCP: ghost_statusghost_usage. Renamed internal/mcp/status.gousage.go and the associated input/output/handler types.
  • Updated README.md, CLAUDE.md, and regenerated docs/cli/.
  • Updated internal/cmd/mcp_list_test.go expected tool list.

Copy link
Copy Markdown
Member

@nathanjcochran nathanjcochran left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only bummer about this is that it makes the CLI and MCP commands no longer match up with the GET /spaces/{space_id}/status API endpoint. So far, we've been pretty good about keeping them 1:1. Maybe we should consider renaming the API endpoint too (or really, duplicating it and keeping the old deprecated endpoint for backwards-compatibility)?

@murrayju
Copy link
Copy Markdown
Member Author

Maybe we should consider renaming the API endpoint too (or really, duplicating it and keeping the old deprecated endpoint for backwards-compatibility)

I'll do this next

@murrayju murrayju merged commit dcfdd7d into main May 21, 2026
2 checks passed
@murrayju murrayju deleted the murrayju/usage-status-alias branch May 21, 2026 14:49
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