Project

what_now

0.0
No commit activity in last 3 years
No release in over 3 years
Executable for finding todo comments on directories
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0
>= 0
 Project Readme

what_now

Executable (packed as a ruby gem) for finding TODO comments inside code Requires Ruby 1.9.* and above

Installation

If you use rbenv or RVM:

gem install what_now

Otherwise you might need

sudo gem install what_now

Usage

$ wnow

Will return all the todos in the following format inside files:

  • TODO this is the text

Where 'this is the text' will be returned, together with the relative path and line number

The output is colored, but if redirected to a non TTY device, a simpler, colorless format will be used.

Options

  • --dir, -d: Specify the directory in which to search the TODO's. It can be an absolute path of anywhere in the system, or a relative path to the current directory.
  • --ext, -e: Specify the extension of the files to consider. You can pass it with or without the dot (.rb or rb are both valid).
  • --regex, -r: Specify the regular expression (Perl-like) that the file names must match.
  • --ignorecase, -i: When passed, this options matches both the strings TODO and todo. By default, this options is deactivated.