Module: Homebrew::Bundle::Commands::Install Private

Defined in:
bundle/commands/install.rb

This module is part of a private API. This module may only be used in the Homebrew/brew repository. Third parties should avoid using this module if possible, as it may be removed or changed without warning.

Class Method Summary collapse

Class Method Details

.dslObject

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.



20
21
22
# File 'bundle/commands/install.rb', line 20

def self.dsl
  @dsl
end

.run(global: false, file: nil, no_lock: false, no_upgrade: false, verbose: false, force: false, quiet: false) ⇒ Object

This method is part of a private API. This method may only be used in the Homebrew/brew repository. Third parties should avoid using this method if possible, as it may be removed or changed without warning.



11
12
13
14
15
16
17
18
# File 'bundle/commands/install.rb', line 11

def self.run(global: false, file: nil, no_lock: false, no_upgrade: false, verbose: false, force: false,
             quiet: false)
  @dsl = Brewfile.read(global:, file:)
  Homebrew::Bundle::Installer.install(
    @dsl.entries,
    global:, file:, no_lock:, no_upgrade:, verbose:, force:, quiet:,
  ) || exit(1)
end