brew/Library/Homebrew/dev-cmd/install-bundler-gems.rb

29 lines
457 B
Ruby
Raw Normal View History

2020-11-25 17:03:23 +01:00
# typed: true
# frozen_string_literal: true
require "formula"
require "cli/parser"
module Homebrew
2020-10-20 12:03:48 +02:00
extend T::Sig
module_function
2020-10-20 12:03:48 +02:00
sig { returns(CLI::Parser) }
def install_bundler_gems_args
Homebrew::CLI::Parser.new do
description <<~EOS
Install Homebrew's Bundler gems.
EOS
2020-07-30 18:40:10 +02:00
2021-01-10 14:26:40 -05:00
named_args :none
end
end
def install_bundler_gems
install_bundler_gems_args.parse
Homebrew.install_bundler_gems!
end
end