14 lines
		
	
	
		
			264 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			264 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| #:  * `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
 | 
