Guest User

Untitled

a guest
May 27th, 2018
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. # Put this in your path, chmod +x it and then:
  2. # brew sample --arg1 --arg2 git subversion
  3.  
  4. ohai "Sample external brew ruby script."
  5. puts "Options:"
  6. puts *ARGV.options
  7. puts "Formulae:"
  8. puts ARGV.formulae.collect {|f|f.name} * "\n"
Add Comment
Please, Sign In to add comment