fuzzy-new-file

1.4.3 • Public • Published

Fuzzy New File (fnf)

CLI to create file/folder with fuzzy-file matching autocomplete.

The CLI will provide a list of searchable subdirectories of the current working directory for you to choose where you want to create nested folders/files.

Demo

Installation

Note: The CLI requires Node v10 or above.

npm install -g fuzzy-new-file

Tips: If you are planning to use the CLI in a directory with a lot of subdirectories, to improve the performance significantly, I recommend installing https://github.com/sharkdp/fd then use --search-engine fd when running the CLI.

Usage

> fnf --help
fnf
 
Create file/folder with fuzzy-file matching autocomplete.
 
Options:
  --version        Show version number                                 [boolean]
  --help           Show help                                           [boolean]
  --root           Root folder where autocomplete will list its subdirectories.
                   Default is current working directory
  --no-ignore-vcs  Show search results from files and directories that would
                   otherwise be ignored by '.gitignore' files   [default: false]
  --search-engine
                    Search engine used to search for list of directories.
                    Possible values:
                    - fd: Very fast search engine, see:
                    https://github.com/sharkdp/fd. Require installation.
                    Recommended for directories having a lot of subdirectories
                    - node: Built-in node search logic, no need to install
                    anything.
                                       [choices: "node""fd"] [default: "node"]

Package Sidebar

Install

npm i fuzzy-new-file

Weekly Downloads

0

Version

1.4.3

License

MIT

Unpacked Size

8.01 kB

Total Files

4

Last publish

Collaborators

  • joe93