0.0.11 • Published 3 years ago

@vmarcosp/findr v0.0.11

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

Preview

Installation

npm i -g @vmarcosp/findr

OS Support

  • :white_check_mark:   Mac
  • :white_check_mark:   Linux
  • :gear:   Windows (WIP)

Features

  • :white_check_mark:   Find
  • :white_check_mark:   Replace
  • :white_check_mark:   Colorized output
  • :white_check_mark:   Highlight and preview occurrences
  • :white_check_mark:   Select files to replace
  • :white_check_mark:   Regex support
  • ⚙️   Select ocurrences to replace (WIP)

Commands

Find command:

Positional arguments:

  • Text to find

Named arguments:

  • --folder or -f
  • --regex or -r regex mode
  • --extension or -e filter files by extension

Example:

  # Basic usage
  findr find "write_file" --folder src

  # Filtering by extension
  findr find "write_file" --folder src --extension re,js

Replace command:

Positional arguments:

  • Text to replace
  • New text

Named arguments:

  • --folder or -f
  • --regex or -r regex mode
  • --extension or -e filter files by extension

Example:

  # Basic usage
  findr replace "write_file" "create_file" --folder src

  # Regex mode
  findr replace "\bwrite_file" "create_file" --folder src --regex

License

MIT

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago