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

brew cask search is deprecated #31

Closed
ErikMinekus opened this issue Jun 27, 2018 · 7 comments
Closed

brew cask search is deprecated #31

ErikMinekus opened this issue Jun 27, 2018 · 7 comments
Labels

Comments

@ErikMinekus
Copy link
Contributor

brew cask search has been deprecated. brew search now returns formulae and Casks, like so:

$ brew search github
==> Formulae
github-keygen                         github-markdown-toc                   github-release

==> Casks
github                                github-beta                           githubpulse

I don't have the time currently to come up with a fix, but I'm reporting it so other people are aware.

@fniephaus
Copy link
Owner

Thanks for raising this issue. I've put a workaround in place, but this needs to be worked on when brew cask search is removed once and for all.

@ErikMinekus
Copy link
Contributor Author

Unfortunately brew cask search also returns formulae and Casks. These are all formulae, none of the Casks show up:

cask install github

@fniephaus
Copy link
Owner

Mh, so the only way to search for casks is to actually call and parse brew search {search term}? That's unfortunate and I'm not sure how stable brew search {something} is at the moment. Maybe we should just drop support for cask search/install?

@ErikMinekus
Copy link
Contributor Author

Correct. Maybe we can open an feature request to add a flag to brew search to only return formulae or Casks. I really like being able to search and install Casks from Alfred in one command, so it would be sad to see it go.

@fniephaus
Copy link
Owner

Sound like a good idea. Would you like to work on this? As in filing a feature request and implementing it here once available?

@ErikMinekus
Copy link
Contributor Author

It looks like as of 2 days ago you can run brew search --casks to get a list of all Casks. If you don't have time to implement that, I'll see if I can get a PR in next week.

@fniephaus
Copy link
Owner

@ErikMinekus cool! I'm afraid next week will be quite busy, but happy to review a PR :)

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

No branches or pull requests

2 participants