ssoroka / grepmate
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (5)
- Wiki (1)
- Graphs
-
Branch:
master
grepmate /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Fri Dec 05 09:34:02 -0800 2008 | |
| |
LICENSE | Thu Jul 23 19:35:18 -0700 2009 | |
| |
README.rdoc | Mon Jul 27 15:14:50 -0700 2009 | |
| |
Rakefile | Thu Jul 23 21:47:00 -0700 2009 | |
| |
VERSION | Wed Jul 29 14:13:50 -0700 2009 | |
| |
bin/ | Thu Jul 23 21:16:32 -0700 2009 | |
| |
config/ | Mon Jul 27 15:25:17 -0700 2009 | |
| |
grepmate.gemspec | Wed Jul 29 14:13:55 -0700 2009 | |
| |
lib/ | Wed Jul 29 14:13:38 -0700 2009 | |
| |
spec/ | Mon Jul 27 15:27:29 -0700 2009 | |
| |
tmp/ | Thu Jul 23 21:16:32 -0700 2009 |
README.rdoc
Grepmate
Extremely fast search of rails projects or ruby source for code.
Supports opening search results in textmate, browser (html), or as text.
Usage
NAME
grepmate
SYNOPSIS
grepmate [what_to_search_for*] [dir=dir] [options]+
PARAMETERS
what_to_search_for (-1 ~> what_to_search_for)
Search terms. Enclose in quotes to search for phrase. use with -e or
--regex option for regular expression support
dir=dir (-1 ~> dir)
Directories to search. Defaults to project dirs.
--case
Case sensitive search (default is off).
--textmate, -t
open matches in textmate
--html
Turn on html output (default)
--text
show matches as text, file and line number
--file_and_line, -f
output only match file and line number
--rails, -r
Search Rails source, in addition to whatever is named by dir parameter
etc.
--only_rails, -R
Search only Rails source, not the project. Takes precedence over dir
parameter
--gems, -g
Search all gems, in addition to whatever is named by dir parameter
etc.
--only_gems, -G
Search only gems, not the project. Takes precedence over dir parameter
--wait, -w
Wait between finds until TextMate file is closed. Only works with
textmate output (--textmate or -t).
--count, -c
Display only the number of matches.
--regex, -e
use regular expression search terms
--verbose, -v
Turn on verbose mode and explain everything
--help, -h
Authors
- Steven Soroka
- Zach Holt
To Do
- check ~/.grepmate for current rails repo to use instead of always using latest
