lib/bundle/commands/list.rb
# 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