# typed: true # frozen_string_literal: true require "formula" require "cli/parser" module Homebrew extend T::Sig module_function sig { returns(CLI::Parser) } def install_bundler_gems_args Homebrew::CLI::Parser.new do description <<~EOS Install Homebrew's Bundler gems. Not (yet) working on Apple Silicon. EOS named_args :none end end def install_bundler_gems # TODO: update description above if removing this. raise UsageError, "not (yet) working on Apple Silicon!" if Hardware::CPU.arm? install_bundler_gems_args.parse Homebrew.install_bundler_gems! end end