cmd/casks: use ShellCommand

This commit is contained in:
Ruoyu Zhong 2024-07-15 11:39:45 -04:00
parent 06610bf807
commit 2ef745445b
No known key found for this signature in database

View File

@ -2,18 +2,18 @@
# frozen_string_literal: true # frozen_string_literal: true
require "abstract_command" require "abstract_command"
require "shell_command"
# This Ruby command exists to allow generation of completions for the Bash # This Ruby command exists to allow generation of completions for the Bash
# version. It is not meant to be run. # version. It is not meant to be run.
module Homebrew module Homebrew
module Cmd module Cmd
class Casks < AbstractCommand class Casks < AbstractCommand
include ShellCommand
cmd_args do cmd_args do
description "List all locally installable casks including short names." description "List all locally installable casks including short names."
end end
sig { override.void }
def run = raise_sh_command_error!
end end
end end
end end