0.7.0-beta.1 • Published 10 years ago

nff v0.7.0-beta.1

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

node-nff

NPM version Build Status

NPM NPM

node.js find file cli

支持中文编码搜索

Use

  $ npm install -g nff
  $ nff -h

  Usage: nff [options]

  Options:

    -h, --help            output usage information
    -V, --version         output the version number
    -f, --find [s]        find file(Examples: $ nff -f findKeyword1,findKeyword2)
    -w, --where [s]       where path(Examples: $ nff -w java,xml)
    -i, --ignore [s]      ignore file(Examples: $ nff -i java,xml)
    -g, --ignorePath [s]  ignore file path(Default: .svn, .git, Examples: $ nff -g .git,bin)

Examples

➜  node-nff git:(master) ✗ nff -f Lazy,path -p node_modules,.git,list


========== node.js find {Lazy,path} list ==========


 **Lazy**

  * index.js:5 var Lazy = require('lazy');
  * index.js:73 var ly = new Lazy(fs.createReadStream(filePath));
  * README.md:29 $ nff -p node_modules,.git -f Lazy
  * README.md:32 ========== node.js find {Lazy} list ==========
  * README.md:35 *  **Lazy**  index.js:4 var Lazy = require('lazy');
  * README.md:36 *  **Lazy**  index.js:65 var ly = new Lazy(fs.createReadStream(filePath));


 **path**

  * index.js:2 var path = require('path');
  * index.js:22 var basename = path.basename(fileP);
  * index.js:37 var filePath = path.join(basePath, filename);
  * index.js:45 var fileExt = path.extname(filename);
  * bin/nff:8 .option('-p, --ignorePath [ignore file path]',
  * bin/nff:9 'ignore file path(Default: .svn, .git, Examples: $ nff -p .git,bin)', String, '.svn,.git');
  * README.md:21 -p, --ignorePath [ignore file path]  ignore file path(Default: .svn, .git, Examples: $ nff -p .git,bin);
0.7.0-beta.1

10 years ago

0.6.0

10 years ago

0.5.1

10 years ago

0.5.0

11 years ago

0.4.0

11 years ago

0.3.0

11 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago