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