nv-cli-simple-fsearch
v0.0.4
Published
nv-cli-simple-fsearch =============== - nv-cli-simple-fsearch - cli tool, to search file-path and line with regex - its a simple version of https://www.npmjs.com/package/js-code-srch - remove the js/ts parser, only using regexp match line, make it fa
Downloads
4
Readme
nv-cli-simple-fsearch
- nv-cli-simple-fsearch
- cli tool, to search file-path and line with regex
- its a simple version of https://www.npmjs.com/package/js-code-srch
- remove the js/ts parser, only using regexp match line, make it fast
install
- npm install nv-cli-simple-fsearch -g
usage
Usage: nv_simple_fsrch [options]
Options:
-p, --path path to search ,default ./
-r, --regex regex
-s, --suffixes default js ts json
-h, --help usage
example
nv-cli-simple-fsearch# nv_simple_fsrch -r "class|function" -p "./node_modules/nv-file-basic/" -s js
/mnt/sdb/NV5/NV5_/nvcli-/pkgs/FILE/nv-cli-simple-fsearch/node_modules/nv-file-basic/index.js 23220
class Permission {
==================
/mnt/sdb/NV5/NV5_/nvcli-/pkgs/FILE/nv-cli-simple-fsearch/node_modules/nv-file-basic/index.js 34980
class Stat {
==================
/mnt/sdb/NV5/NV5_/nvcli-/pkgs/FILE/nv-cli-simple-fsearch/node_modules/nv-file-basic/index.js 71631
OD(module.exports,'FH_SYMS_',{get:function(){
==================
nv-cli-simple-fsearch#
nv-cli-simple-fsearch# nv_simple_fsrch -r "class|function" -p "./node_modules/nv-file-basic/"
/mnt/sdb/NV5/NV5_/nvcli-/pkgs/FILE/nv-cli-simple-fsearch/node_modules/nv-file-basic/index.js 23220
class Permission {
==================
/mnt/sdb/NV5/NV5_/nvcli-/pkgs/FILE/nv-cli-simple-fsearch/node_modules/nv-file-basic/index.js 34980
class Stat {
==================
/mnt/sdb/NV5/NV5_/nvcli-/pkgs/FILE/nv-cli-simple-fsearch/node_modules/nv-file-basic/index.js 71631
OD(module.exports,'FH_SYMS_',{get:function(){
==================
/mnt/sdb/NV5/NV5_/nvcli-/pkgs/FILE/nv-cli-simple-fsearch/node_modules/nv-file-basic/package.json 21
"description": "nv-file-basic ============== - simple async wrap of node fs-module - add some symbol-link functions",
==================
nv-cli-simple-fsearch#
LICENSE
- ISC