Module: Homebrew::Bundle::Commands::Dump Private

Defined in:
bundle/commands/dump.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:, describe:, force:, no_restart:, taps:, formulae:, casks:, extension_types: {}) ⇒ 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)
  • describe (Boolean)
  • force (Boolean)
  • no_restart (Boolean)
  • taps (Boolean)
  • formulae (Boolean)
  • casks (Boolean)
  • extension_types (Homebrew::Bundle::ExtensionTypes) (defaults to: {})


15
16
17
18
19
# File 'bundle/commands/dump.rb', line 15

def self.run(global:, file:, describe:, force:, no_restart:, taps:, formulae:, casks:, extension_types: {})
  Homebrew::Bundle::Dumper.dump_brewfile(
    global:, file:, describe:, force:, no_restart:, taps:, formulae:, casks:, extension_types:,
  )
end