blob: 67d11edce2a375e7467700fd351626ba35ab6a29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#: * `formula` <formula>:
#: Display the path where <formula> is located.
require "formula"
module Homebrew
module_function
def formula
raise FormulaUnspecifiedError if ARGV.named.empty?
ARGV.resolved_formulae.each { |f| puts f.path }
end
end
|