Skip to content

Keep pre-3.0.0 command names as deprecated aliases - #83

Merged
Kevin-Chant merged 1 commit into
mainfrom
kc/renamed-command-aliases
Oct 1, 2026
Merged

Kevin-Chant merged 1 commit into
mainfrom
kc/renamed-command-aliases

Conversation

@Kevin-Chant

Copy link
Copy Markdown
Member

Features and Changes

The 13 commands renamed in #82 keep their old names as cobra aliases, so 2.x scripts still run on 3.0.0 and print a stderr warning naming the replacement. The aliases are slated for removal in 4.0.0. A test fails if a future regen renames an alias target. This ships as 3.0.0-next.1, ahead of stable.

Testing

  • teams add-team-members --dry-run -> same request as teams add-members, plus the warning on stderr
  • teams add-members -> no warning
  • stdout carries no warning text, so --jq/JSON output is unaffected

The 3.0.0 renames now warn on stderr instead of failing; the aliases go in 4.0.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Kevin-Chant
Kevin-Chant requested a review from a team as a code owner October 1, 2026 06:24
@Kevin-Chant
Kevin-Chant merged commit f0911fc into main Oct 1, 2026
1 check passed
@Kevin-Chant
Kevin-Chant deleted the kc/renamed-command-aliases branch October 1, 2026 06:25
@Kevin-Chant Kevin-Chant mentioned this pull request Oct 1, 2026
4 tasks done
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