Module: Homebrew::Bundle::Commands::List Private

Defined in:
bundle/commands/list.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

.run(global:, file:, formulae:, casks:, taps:, mas:, whalebrew:, vscode:) ⇒ void

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.

This method returns an undefined value.

Parameters:

  • global (Boolean)
  • file (String, nil)
  • formulae (Boolean)
  • casks (Boolean)
  • taps (Boolean)
  • mas (Boolean)
  • whalebrew (Boolean)
  • vscode (Boolean)


15
16
17
18
19
20
21
# File 'bundle/commands/list.rb', line 15

def self.run(global:, file:, formulae:, casks:, taps:, mas:, whalebrew:, vscode:)
  parsed_entries = Brewfile.read(global:, file:).entries
  Homebrew::Bundle::Lister.list(
    parsed_entries,
    formulae:, casks:, taps:, mas:, whalebrew:, vscode:,
  )
end