24 lines
441 B
Ruby
24 lines
441 B
Ruby
# typed: strict
|
|
# frozen_string_literal: true
|
|
|
|
module Cask
|
|
class Cmd
|
|
# Abstract superclass for all internal `brew cask` commands.
|
|
#
|
|
# @api private
|
|
class AbstractInternalCommand < AbstractCommand
|
|
extend T::Sig
|
|
|
|
sig { returns(String) }
|
|
def self.command_name
|
|
super.sub(/^internal_/i, "_")
|
|
end
|
|
|
|
sig { returns(T::Boolean) }
|
|
def self.visible?
|
|
false
|
|
end
|
|
end
|
|
end
|
|
end
|