Homebrew/homebrew-bundle

View on GitHub
lib/bundle/commands/list.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module Bundle
  module Commands
    module List
      module_function

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