Skip to content

feat(cli): add hidden list/delete aliases for beta endpoints ls/rm (ENG-92294) - #538

Draft
blainekasten wants to merge 2 commits into
mainfrom
cursor/beta-endpoints-list-delete-aliases-1e75
Draft

feat(cli): add hidden list/delete aliases for beta endpoints ls/rm (ENG-92294)#538
blainekasten wants to merge 2 commits into
mainfrom
cursor/beta-endpoints-list-delete-aliases-1e75

Conversation

@blainekasten

@blainekasten blainekasten commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Keep tg beta endpoints ls / rm as the visible commands.
  • Accept hidden list (already present) and delete aliases so users coming from other CLI surfaces (list/delete) still work.
  • Hide delete from --help the same way list is hidden (show=False).
  • Normalize rm to delete in CLI telemetry, matching the existing lslist and -ddelete mapping.

Fixes ENG-92294.

Test plan

  • uv run pytest tests/cli/test_beta_endpoints.py tests/cli/test_beta_endpoints_rm.py tests/unit/test_cli_telemetry.py -n auto
  • tg beta endpoints --help shows ls and rm/-d, not list or delete (agent and Rich formatters)
  • tg beta endpoints list and tg beta endpoints delete <id> invoke the same handlers as ls / rm

Linear Issue: ENG-92294

Open in Web Open in Cursor 

Keep `ls`/`rm` as the visible commands, accept `list`/`delete` without
showing them in help, and normalize `rm` to `delete` in CLI telemetry.

Co-authored-by: blaine <blaine@together.ai>
@broly-code-security-scanner

Copy link
Copy Markdown

Broly Security Scan

Note

Clean scan
No vulnerabilities detected in this PR.

Note

Re-scan this PR anytime with /broly scan — useful after /broly undismiss, or to refresh findings without a new push.

Broly — SAST (zai-org/GLM-5.2) · Secrets · SCA · IaC · GH Actions · Base Images · Supply Chain Threats · Exploit Chains · Adversarial Verification

We're continuously improving Broly's accuracy and finding quality — your feedback is valuable. False positives, missed findings, bugs, and feature requests all welcome.

Ask in #security-engineering   Powered by Together AI

CI uses the human Rich formatter, which wraps the rm description across
table borders so the contiguous help string never matches.

Co-authored-by: blaine <blaine@together.ai>
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