No commit activity in last 3 years
No release in over 3 years
Extremely fast search of rails projects or rails source for code, open in textmate or browser with html output
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 2.8.3
>= 1.0.0
 Project Readme

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