mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
21 lines
504 B
Ruby
21 lines
504 B
Ruby
# typed: true # rubocop:todo Sorbet/StrictSigil
|
|
# frozen_string_literal: true
|
|
|
|
module Homebrew
|
|
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
|
|
Homebrew::Bundle::Lister.list(
|
|
parsed_entries,
|
|
brews:, casks:, taps:, mas:, whalebrew:, vscode:,
|
|
)
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|