Homebrew Caskを使うとき、「brew cask search」は効かないので「brew search」を使うようにする

Homebrew Caskでアプリを検索したいとき、古い記事を見ているとbrew cask searchコマンドを使うと書かれてあるのですが、そのコマンドは2018年9月30日に廃止されてしまったようです。
試しにコマンドを実行してみると、下記のような表示が出てしまいます。

Homebrew Cask provides a friendly CLI workflow for the administration
of macOS applications distributed as binaries.
Commands:
--cache display the file used to cache the Cask
audit verifies installability of Casks
cat dump raw source of the given Cask to the standard output
create creates the given Cask and opens it in an editor
doctor checks for configuration issues
edit edits the given Cask
fetch downloads remote application files to local cache
home opens the homepage of the given Cask
info displays information about the given Cask
install installs the given Cask
list with no args, lists installed Casks; given installed Casks, lists staged files
outdated list the outdated installed Casks
reinstall reinstalls the given Cask
style checks Cask style using RuboCop
uninstall uninstalls the given Cask
upgrade upgrades all outdated casks
zap zaps all files associated with the given Cask
See also "man brew-cask"
Error: help does not take arguments.返ってきた内容を要約すると、「入力されたコマンドが見つからないから、下記一覧内のコマンドを使ってね」という意味になります。
brew searchを使う
解決策はbrew searchコマンドを使うことです(ただし、引数を入力しないと通常のHomebrewの一覧のみが表示されてしまいます)。
今回は試しにbrew search visual-studioと検索してみて、Visual Studio Codeを検索してみます。
コマンドを実行すると、==> CasksのあとにHomebrew Caskでインストールできるアプリ一覧が検索されます。



Illustratorをスクリプトで操作する時の基本
Drive File Streamで接続しているGoogle Drive内の検索をするAlfred Workflowの作成方法
ファイル移動を補助するPath Finderの特徴的な機能「ドロップスタック」について
Google Chromeのタブを検索するAlfred Workflowの「Search Safari and Chrome Tabs」で、タブ移動をラクにする
Path Finder 8の一括名称変更で使える設定サンプルまとめ
スニペットとしてもドキュメント検索としても使える「Dash 6」でコードや定型文を管理する
時間に合わせてディスプレイの色温度を調節してくれるアプリ「f.lux」の導入方法
Gmailでとりあえず最初にしておくと便利な設定
PCの単語登録(辞書登録機能)の辞書分類やルールについて改めて考えてみる
Alfred 4でスニペットを作成して使用する方法
AirPodsで片耳を外しても再生が止まらないようにする方法
MacのKeynoteにハイライトされた状態でコードを貼り付ける方法
iTerm2でマウスやトラックパッドの操作を設定できる環境設定の「Pointer」タブ
DeepLで「インターネット接続に問題があります」と表示されて翻訳できないときに確認すること
Ulyssesの「第2のエディタ」表示を使って2つのシートを横並びに表示する
高機能なスクリーンショットアプリ「CleanShot X」
macOSの効率化に関するDiscordコミュニティ「CMD-F」を立ち上げました
1Passwordの開発者向け機能(SSH Agent / Environments / 1Password CLI / Developer Watchtower)
Default Folder Xで保存ダイアログ内のファイルリストにフォーカスする方法
Obsidianで整理した知識をAnkiで定着させる方法
Figma × Keyboard Maestroでどこまで効率化できる?
マウス操作の完成度が高いウインドウリサイズアプリ「Magnet」
Macで複数ディスプレイを使っている場合に便利な設定集
AppCleanerでMacアプリを関連ファイルごと完全に削除する
操作に没頭できる!Firefox版 Arcのようなブラウザ「Zen Browser」