-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Eli2 134/make npm create eliza and npx elizaos create functionally identical #4185
fix: Eli2 134/make npm create eliza and npx elizaos create functionally identical #4185
Conversation
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
…-elizaos-create-functionally-identical
This reverts commit 8bfba61.
Enhanced Command-Line Handling for create-eliza
This PR improves the user experience of the create-eliza CLI tool with comprehensive flag handling and path detection:
1. Robust Flag and Argument Processing
-d/--dir
,-t/--type
, and-y/--yes
2. Intelligent Directory Path Detection
npm create eliza -d ./my-dir
npm create eliza ./my-dir
ornpm create eliza my-project-dir
npm create eliza plugin ./plugins-dir/my-plugin
3. Consistent Help Command Experience
npm create eliza help
npx elizaos create --help
These changes standardize the CLI experience across npm and npx command forms, making it more intuitive and aligned with user expectations. Any command that works with
npx elizaos create
now works consistently withnpm create eliza
, providing a seamless developer experience.