1.0.2 • Published 4 years ago
@mironante/frisk v1.0.2
Frisk - CLI tool to search for text in a folder
Prerequisites
- Install Node.js which includes Node Package Manager
Installation
npm install -g @mironante/friskUsage
frisk <dir> <keyword> [options]Arguments:
| Argument | Description |
|---|---|
| dir | Folder path |
| keyword | Search word |
Options:
| Option | Shortcat | Description |
|---|---|---|
| --version | -V | Output the version number |
| --recursively | -r | Search recursively |
| --exclude <char...> | -ex | Exclude files or directories |
| --encoding | -e | Supported encodings (https://github.com/ashtuchkin/iconv-lite/wiki/Supported-Encodings) |
| --help | -h | Display help for command |
Example:
frisk ./project 名前 -e Shift_JIS -r -ex node_modules *.js