Skip to content

refactor: rename TiDB Cloud CLI from tdc to ti - #35

Merged
Icemap merged 2 commits into
mainfrom
agent/ti-cli-rename
Aug 10, 2026
Merged

refactor: rename TiDB Cloud CLI from tdc to ti#35
Icemap merged 2 commits into
mainfrom
agent/ti-cli-rename

Conversation

@Icemap

@Icemap Icemap commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

Rename the repository-facing CLI from tdc to ti, including the executable, Go module, command examples, environment variables, local state, installers, updater, release artifacts, telemetry components, and active documentation.

The change includes a fail-closed migration from ~/.tdc to ~/.ti, keeps legacy environment variables as compatibility inputs without preserving the old command, and updates the bundled Drive9 companion to ti-drive9.

It also integrates the latest product-aware DB dispatcher from main: non-ID commands require --db-cluster-type starter, ID-based commands discover the service plan, Starter behavior lives under internal/db/product/starter, and list pagination remains bounded and type-aware.

Compatibility

This is an intentional breaking change for v0.2.0. There is no tdc executable alias. If both ~/.tdc and ~/.ti contain state, migration fails and asks the user to resolve the conflict manually.

Tests

  • make test
  • make e2e
  • make release-snapshot

@ti-chi-bot ti-chi-bot Bot added the size/XXL label Aug 10, 2026
@Icemap
Icemap merged commit e185a4b into main Aug 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant