cmd/casks: use ShellCommand
This commit is contained in:
parent
06610bf807
commit
2ef745445b
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user