win-grep

1.1.2 • Public • Published

WIN-GREP

Win-Grep is a node module to get "wgrep" command on windows

Install

$ npm install -g win-grep

Prefer global install

Usage

$ wgrep [<options><file-pattern> <search-pattern>

Options

Help

-h, --help              Display help.

Version

-v, --version           Display version.

Version

-d, --debug             Debug mode.

Highlight

-g, --highlight         Enabled highlight

Ignore case

-i, --ignoreCase        Ignore case.

Result by file

-f, --resultByFile      Print result by file. Use it for large file set..

Renderer

-r, --renderer          Choose renderer
Renderer Description
console Print result array directly
inline default Print by line
table Print table, one table per file
vert-table Print each line in a table
json Print result as JSON
count-by-file Print number of match per file
count-by-type Print number of match per file type
count-by-date Print number of match per file date

Readme

Keywords

none

Package Sidebar

Install

npm i win-grep

Weekly Downloads

3

Version

1.1.2

License

none

Last publish

Collaborators

  • nehorim