how
how is a reference manual for programmers.
Installation
gem install how
For syntax highlighting, be sure to install Pygments.
Usage
how [domain] [keywords]
how takes two arguments:
domain
is the domain to be searched. The following domains are currently supported:
+ [js](reference/javascript/README.md) (JavaScript)
keywords
are the search terms. (All keywords are used to find a match. If your search yields no results, try using fewer keywords.)
Example
# How do I capitalize a string in JavaScript?
how js capitalize string
The results will be paged in the program set in $PAGER
. (If $PAGER
isn't set, less will be used.) Additionally, if Pygments is installed, the syntax will be highlighted.