2024-12-14 15:49:09 +01:00

24 lines
431 B
Ruby

# typed: strict
# frozen_string_literal: true
module OS
module Linux
module CLI
module Parser
extend T::Helpers
requires_ancestor { Homebrew::CLI::Parser }
sig { void }
def set_default_options
return if args.only_formula_or_cask == :cask
args.set_arg(:formula?, true)
end
end
end
end
end
Homebrew::CLI::Parser.prepend(OS::Linux::CLI::Parser)