Skip to content

🔥 remove: drop unity command alias#120

Merged
bigdra50 merged 1 commit into
mainfrom
feat/remove-unity-alias-119
May 20, 2026
Merged

🔥 remove: drop unity command alias#120
bigdra50 merged 1 commit into
mainfrom
feat/remove-unity-alias-119

Conversation

@bigdra50

@bigdra50 bigdra50 commented May 12, 2026

Copy link
Copy Markdown
Owner

Closes #119

Summary

  • Remove unity entrypoint from [project.scripts] because it collides with the official Unity Hub CLI on PATH
  • Keep unity-cli (canonical) and u (short alias)
  • Update README examples (EN/JP) to drop the unity state line

Breaking change

Scripts invoking unity ... must switch to u ... or unity-cli .... Worth highlighting in the next release notes.

Test plan

  • uv tool install . and confirm only unity-cli / u / unity-relay are exposed (no unity)
  • u state / unity-cli state still work
  • On a machine with Unity Hub installed, which unity resolves to the official Unity Hub CLI (no shadowing)

Summary by CodeRabbit

  • ドキュメント
    • CLIコマンドの使用例を更新し、state コマンドの実行方法を unity-cli state(フルネーム)と u state(短縮形)に整理しました。従来の別の実行方法は削除されました。

Review Change Stack

The `unity` entrypoint collides with the official Unity Hub CLI on PATH.
Keep `unity-cli` (canonical) and `u` (short alias).

Breaking change: scripts using `unity ...` must switch to `u` or `unity-cli`.
@coderabbitai

coderabbitai Bot commented May 12, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e1c0e2e8-4262-4ebb-9734-4359df262da8

📥 Commits

Reviewing files that changed from the base of the PR and between 337faff and f3619a9.

📒 Files selected for processing (3)
  • README.jp.md
  • README.md
  • pyproject.toml
💤 Files with no reviewable changes (1)
  • pyproject.toml

📝 Walkthrough

Walkthrough

このPRは、公式の Unity Hub CLI との命名競合を解決するため、unity コマンドエイリアスを削除します。pyproject.toml のスクリプトエントリーポイントを unity-cli に変更し、ドキュメント(日本語版・英語版)の利用例を unity-cliu の 2 つに統一します。

Changes

CLI コマンド エイリアス統一

Layer / File(s) Summary
スクリプト エントリーポイント
pyproject.toml
[project.scripts]unity エイリアスを unity-cli に変更。他の既存エントリー(uunity-relay)は変更なし。
ドキュメント更新
README.md, README.jp.md
インストール手順のCLIコマンド例を unity-cli stateu state に統一。unity state の記載を削除。

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • bigdra50/unity-cli#117: Both PRs modify CLI executable naming conventions; this PR removes the unity alias conflict while the linked PR similarly addresses executable name references.

Poem

🐇 unity さらば、争いなし
unity-cliu で道は清し
スクリプトとドキュメント、心を合わせ
公式CLI とともに調和する
競合消えて、ユーザー笑顔 ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed PR タイトルは unity コマンドエイリアスの削除という主要な変更を明確に要約しており、変更内容と一致しています。
Linked Issues check ✅ Passed PR はリンク済みの issue #119 のすべての要件を満たしています:pyproject.toml から unity エントリポイントを削除、README.md/README.jp.md から unity state の例を削除、unity-cliu は保持。
Out of Scope Changes check ✅ Passed すべての変更が issue #119 の範囲内です:pyproject.toml のスクリプトエントリポイント修正と、両言語の README ドキュメント更新のみが含まれています。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/remove-unity-alias-119

Tip

💬 Introducing Slack Agent: The best way for teams to turn conversations into code.

Slack Agent is built on CodeRabbit's deep understanding of your code, so your team can collaborate across the entire SDLC without losing context.

  • Generate code and open pull requests
  • Plan features and break down work
  • Investigate incidents and troubleshoot customer tickets together
  • Automate recurring tasks and respond to alerts with triggers
  • Summarize progress and report instantly

Built for teams:

  • Shared memory across your entire org—no repeating context
  • Per-thread sandboxes to safely plan and execute work
  • Governance built-in—scoped access, auditability, and budget controls

One agent for your entire SDLC. Right inside Slack.

👉 Get started


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@bigdra50 bigdra50 merged commit 9c35fef into main May 20, 2026
22 checks passed
@bigdra50 bigdra50 deleted the feat/remove-unity-alias-119 branch May 20, 2026 18:47
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.

Remove unity command alias to avoid conflict with official Unity Hub CLI

1 participant