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でインストールできるアプリ一覧が検索されます。



macOSで画面を拡大縮小するズーム機能の設定
Alfred 4の無料版と有料版(Powerpack)で使える機能比較
ATOKの変換領域(文節区切り)を選択しやすくするカスタマイズ
Google検索で使えるパラメータ一覧とその活用方法
Fantastical 2で予定の登録時に使えるキーワードまとめ
Visual Studio Codeでミニマップ関連を見やすくするカスタマイズ方法
Workspacesの特定ワークスペースのURLを取得・実行する方法
BetterTouchToolのライセンス・料金まとめ(BetterSnapToolやBTT Remoteによる無料ライセンス)
HyperSwitchで「This beta version has expired」と表示される場合は、公式サイトから再度インストールしてアップデート
Gyazo Proにすると「画像キャプチャから編集、共有」までの流れがかなりラクになった
MacのKeynoteにハイライトされた状態でコードを貼り付ける方法
AirPodsで片耳を外しても再生が止まらないようにする方法
iTerm2でマウスやトラックパッドの操作を設定できる環境設定の「Pointer」タブ
DeepLで「インターネット接続に問題があります」と表示されて翻訳できないときに確認すること
Ulyssesの「第2のエディタ」表示を使って2つのシートを横並びに表示する
Default Folder Xで保存ダイアログ内のファイルリストにフォーカスする方法
Obsidianで整理した知識をAnkiで定着させる方法
Figma × Keyboard Maestroでどこまで効率化できる?
マウス操作の完成度が高いウインドウリサイズアプリ「Magnet」
Macで複数ディスプレイを使っている場合に便利な設定集
AppCleanerでMacアプリを関連ファイルごと完全に削除する
操作に没頭できる!Firefox版 Arcのようなブラウザ「Zen Browser」
chezmoi(シェモア)で始めるdotfiles管理
GitHubの通知を見逃さない!通知に特化したアプリ「Gitify」
Keyboard Maestroの変数基礎