aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/--repository.rb
blob: b697b3eaa302dc14ec0cc7292bd39d0c119c2784 (plain)
1
2
3
4
5
6
7
8
9
10
11
require "tap"

module Homebrew
  def __repository
    if ARGV.named.empty?
      puts HOMEBREW_REPOSITORY
    else
      puts ARGV.named.map { |tap| Tap.fetch(tap).path }
    end
  end
end