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


Chrome拡張機能の「Create Link」を使って簡単にサイトリンクを生成する
Dashの環境設定やスニペットのバックアップ・同期方法
アクティビティモニタで「kernel_task」の暴走を落ち着かせるためには、CPU温度を下げる必要がある
macOSで画面を拡大縮小するズーム機能の設定
AlfredのWorkflowをコードを書いて作成する方法
Path Finderで設定しておくと便利なショートカットキー一覧
Evernoteで特定のタグを除外して検索する方法
マウス操作の完成度が高いウインドウリサイズアプリ「Magnet」
Macのプレビュー.appを使って画像のトリミングを行う方法
Dashでドキュメント機能を無視して、スニペット検索だけする方法
iTerm2で「Use System Window Restoration Setting」を設定しているとアラートが表示されて機能しない
Google Chromeのサイト内検索(カスタム検索)機能を別のプロファイルに移行する方法
iPadで入力モードを切り替えずに数字や記号をすばやく入力する方法
iPhoneやiPadでYouTubeの再生速度を3倍速や4倍速にする方法
Keynoteで有効にしているはずのフォントが表示されない現象
MacのKeynoteにハイライトされた状態でコードを貼り付ける方法
AirPodsで片耳を外しても再生が止まらないようにする方法
iTerm2でマウスやトラックパッドの操作を設定できる環境設定の「Pointer」タブ
DeepLで「インターネット接続に問題があります」と表示されて翻訳できないときに確認すること
Ulyssesの「第2のエディタ」表示を使って2つのシートを横並びに表示する
Figma × Keyboard Maestroでどこまで効率化できる?
Macで複数ディスプレイを使っている場合に便利な設定集
AppCleanerでMacアプリを関連ファイルごと完全に削除する
操作に没頭できる!Firefox版 Arcのようなブラウザ「Zen Browser」
chezmoi(シェモア)で始めるdotfiles管理
GitHubの通知を見逃さない!通知に特化したアプリ「Gitify」
Keyboard Maestroの変数基礎
Neovimを使い始める最初の一歩として便利な「LazyVim」
ウェブサイトをmacOSアプリとしてラッピングする「Unite Pro」