Skip to content
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(hubble.sh): handle invalid commands gracefully #2406

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

youyyytrok
Copy link
Contributor

@youyyytrok youyyytrok commented Nov 22, 2024

Why is this change needed?

This change improves the usability of the hubble.sh script by ensuring that invalid commands are handled gracefully. When an invalid command is entered, the script now redirects the user to the help menu, preventing confusion and providing guidance on available options.

Merge Checklist


PR-Codex overview

This PR improves user feedback in the hubble.sh script by adding error messages for invalid commands.

Detailed summary

  • Added an error message: echo "❌ Invalid command: $1" to notify the user about the invalid command.
  • Added a blank line for better readability: echo "".
  • Executed the help command: exec "$0" help to provide usage instructions.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

changeset-bot bot commented Nov 22, 2024

⚠️ No Changeset found

Latest commit: 996532d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Nov 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hub-monorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 22, 2024 11:14am

@sds sds added the t-feat Add a new feature or protocol improvement label Dec 7, 2024
@sds sds merged commit 402cd54 into farcasterxyz:main Dec 7, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t-feat Add a new feature or protocol improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants