aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/man.rb
AgeCommit message (Collapse)Author
2016-09-08Move developer-focused commands to dev-cmd.Mike McQuaid
2016-09-08Add `--help` to all developer commands.Mike McQuaid
Also, flag those that we never want to be in a manpage.
2016-08-24cmd/man: deprecate --link option.Mike McQuaid
2016-08-22Move Cask man page to root.Markus Reiter
2016-08-20Make "brew man" also generate Cask's manpage.Mike McQuaid
Also, check in this manpage, adjust the Rakefile and remove the old one. Fixes #731.
2016-06-29Add magic token to hide commands from man pageTim D. Smith
Closes #402.
2016-06-14man: auto detect maintainers listXu Cheng
2016-04-20man: put option-style commands after regular onesMartin Afanasjew
2016-04-19man: fix Ruby syntax warningXu Cheng
Library/Homebrew/cmd/man.rb:44: warning: assigned but unused variable - commands Closes #116. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-04-19Revert "man: fix Ruby syntax warning"Xu Cheng
This reverts commit 2caf7b76bb3e09ffabf8c56d3934ba8190673fdc.
2016-04-19man: fix Ruby syntax warningXu Cheng
Library/Homebrew/cmd/man.rb:44: warning: assigned but unused variable - commands
2016-04-17man: replace split header/footer with ERB templateMartin Afanasjew
2016-04-17man: pipe markup to 'ronn' to avoid temporary fileMartin Afanasjew
2016-04-17man: refactor and fix code styleMartin Afanasjew
Split monolithic method into more manageable chunks and fix code style.
2016-04-10Implement the `brew help` commandMax Nordlund
This is also used by `brew <cmd> --help`. The basic idea is to have the documentation as a top level comment in each command file. To find these comments, they have to be like this `#:`. This is also used by the `brew man` command to keep the documentation DRY, and for that there are now a header and footer for the man page.
2015-12-13man: modernize and reduce code duplicationMartin Afanasjew
Also use `popen_read` instead of `safe_system` for cleaner argument passing and write the output with `atomic_write`. Closes Homebrew/homebrew#46826. Signed-off-by: Martin Afanasjew <martin@afanasjew.de>
2015-12-13man: remove broken --verbose functionalityMartin Afanasjew
2015-08-29More API documentation.Mike McQuaid
And remove the documented stuff from the `example-formula.rb`. Closes Homebrew/homebrew#43241. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-18'brew man': abort if a formula is givenBaptiste Fontaine
Closes Homebrew/homebrew#40735. Closes Homebrew/homebrew#40736. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-01-02Add Homebrew.install_gem_setup_path! function.Mike McQuaid
This uses the logic from tests.rb in man.rb too so that this can be shared in a few places.
2014-09-27Drop executable bits from imported commandsJack Nagel
Closes Homebrew/homebrew#32743.
2014-09-24brew-man: Rubify, make an internal command.Mike McQuaid
Closes Homebrew/homebrew#32472.