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

Interactive search in install #18991

Closed
1 task done
CodeWithShreyans opened this issue Dec 23, 2024 · 4 comments
Closed
1 task done

Interactive search in install #18991

CodeWithShreyans opened this issue Dec 23, 2024 · 4 comments
Labels
features New features

Comments

@CodeWithShreyans
Copy link
Contributor

Verification

Provide a detailed description of the proposed feature

A flag for brew install that uses the same functionality as brew search but lets you interactively select the package you want to install.

What is the motivation for the feature?

In all my years of using brew, I often need to do brew search xyz to find the particular package name before doing brew install xyz-manager after learning the exact package name.

How will the feature be relevant to at least 90% of Homebrew users?

I haven't surveyed anyone, but I think many people would have this issue. Maybe it can be checked through telemetry?

What alternatives to the feature have been considered?

Just doing brew search or even slower — going to the website or Google.

@CodeWithShreyans CodeWithShreyans added the features New features label Dec 23, 2024
@CodeWithShreyans
Copy link
Contributor Author

I could work on this, not very versed with Ruby so will need some direction but from what I could understand I would need to use functions from Library/Homebrew/search.rb and imitate what's being done in Library/Homebrew/cmd/search.rb in Library/Homebrew/cmd/install.rb.

@MikeMcQuaid
Copy link
Member

Passing on this, sorry. It's a good fit for an external command.

@MikeMcQuaid MikeMcQuaid closed this as not planned Won't fix, can't repro, duplicate, stale Dec 24, 2024
@CodeWithShreyans
Copy link
Contributor Author

wdym external command, like a different cli? In what way could I approach that?

@MikeMcQuaid
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
features New features
Projects
None yet
Development

No branches or pull requests

2 participants