1.0.8 • Published 3 years ago

greeep v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

greeep

This is a Grep-like application.

caution: This app will generate a sqlite file in the current directory.

install

npm install -g greeep

usage

1. Create a .greeepignore

$ vi .greeepignore

The description rules are exactly the same as for ".gitignore".

Toptal | Gitignore.io is recommended for automatic file generation.

2. You can register your frequently used regular expressions.

$ greeep -a 'TODO:|FIXME:|HACK:'
$ greeep -a 'REVIEW:|CHANGED:|NOTE:|WARNING:'
$ greeep -a 'require\(.*\)'

3. You do not need to register to use it.

$ greeep 'TODO:|FIXME:|HACK:'
$ greeep 'REVIEW:|CHANGED:|NOTE:|WARNING:'
$ greeep 'require\(.*\)'

※ Cannot be used with '-a' or '-d'.

4. You can run it from among the registered ones.

$ greeep
? Pick a regexp • 
❯ TODO:|FIXME:|HACK:
  REVIEW:|CHANGED:|NOTE:|WARNING:
  require\(.*\)

5. You can delete the ones you no longer need.

$ greeep -d
? Pick a regexp • 
❯ TODO:|FIXME:|HACK:
  REVIEW:|CHANGED:|NOTE:|WARNING:
  require\(.*\)

6. You can change the directory.

$ greeep -c ~/work/projectB

7. Only the first matching line of the file can be displayed.

$ greeep -f

8. It is case-insensitive and can be used for matching.

$ greeep -i
1.0.8

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.0

3 years ago