fix(cli): restore [project.scripts] in crewai package for uv tool install#6028
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughA new ChangesCLI Entry Point Registration
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
Note
Low Risk
Packaging-only change (three lines in pyproject.toml); no application logic touched.
Overview
Restores the
crewaiconsole script on the maincrewaiPyPI package by re-adding[project.scripts]inlib/crewai/pyproject.toml, mappingcrewai→crewai_cli.cli:crewai.That entry point was missing from the umbrella package, so installs like
uv tool install crewaidid not put acrewaicommand on PATH even thoughcrewai-cliis a dependency. Behavior matches the standalonecrewai-clipackage’s script definition; no runtime or CLI code changes.Reviewed by Cursor Bugbot for commit 854c6ff. Bugbot is set up for automated code reviews on this repo. Configure here.
Summary by CodeRabbit
crewaicommand-line interface accessible from the terminal.