2011-03-13 12:54:30 +00:00
|
|
|
HOMEBREW_HELP = <<-EOS
|
|
|
|
Example usage:
|
2013-01-30 09:30:01 -08:00
|
|
|
brew [info | home | options ] [FORMULA...]
|
2011-03-13 12:54:30 +00:00
|
|
|
brew install FORMULA...
|
|
|
|
brew uninstall FORMULA...
|
|
|
|
brew search [foo]
|
|
|
|
brew list [FORMULA...]
|
|
|
|
brew update
|
2011-08-23 23:30:52 +01:00
|
|
|
brew upgrade [FORMULA...]
|
2013-10-14 11:00:09 -04:00
|
|
|
brew pin/unpin [FORMULA...]
|
2011-03-13 12:54:30 +00:00
|
|
|
|
|
|
|
Troubleshooting:
|
|
|
|
brew doctor
|
|
|
|
brew install -vd FORMULA
|
2014-04-26 23:31:39 -07:00
|
|
|
brew [--env | config]
|
2011-03-13 12:54:30 +00:00
|
|
|
|
|
|
|
Brewing:
|
|
|
|
brew create [URL [--no-fetch]]
|
|
|
|
brew edit [FORMULA...]
|
2013-12-14 18:14:50 +00:00
|
|
|
open https://github.com/Homebrew/homebrew/wiki/Formula-Cookbook
|
2011-03-13 12:54:30 +00:00
|
|
|
|
|
|
|
Further help:
|
|
|
|
man brew
|
|
|
|
brew home
|
|
|
|
EOS
|
|
|
|
|
|
|
|
# NOTE Keep the lenth of vanilla --help less than 25 lines!
|
|
|
|
# This is because the default Terminal height is 25 lines. Scrolling sucks
|
|
|
|
# and concision is important. If more help is needed we should start
|
|
|
|
# specialising help like the gem command does.
|
|
|
|
# NOTE Keep lines less than 80 characters! Wrapping is just not cricket.
|
|
|
|
# NOTE The reason the string is at the top is so 25 lines is easy to measure!
|
|
|
|
|
2014-06-18 22:41:47 -05:00
|
|
|
module Homebrew
|
2011-03-13 12:54:30 +00:00
|
|
|
def help
|
|
|
|
puts HOMEBREW_HELP
|
|
|
|
end
|
|
|
|
def help_s
|
|
|
|
HOMEBREW_HELP
|
|
|
|
end
|
|
|
|
end
|