treev

0.0.8 • Public • Published

Treev

create a tree for your directory

install

npm i treev -g

Usage

$ treev -h
Usage: treev [options]

Options:
  -d, --directory <directory>  specify a directory to create tree
  -i, --ignore <glob...>       ignore directories when you create tree
  -ni, --noIcons               create tree without icons
  -v, --version                output the version number
  -h, --help                   display help for command

Example

ignore some files:

$ treev -i node_modules .git **.js

📁treev
├─📁dist
│ ├─📄commander-CXs82Ous.js
│ ├─📄glob-l0vWOJPs.js
│ └─📄index.js
├─📄.gitignore
├─📄.npmignore
├─📄README.md
├─📄package-lock.json
└─📄package.json

output without icons:

$ treev -i node_modules .git **.js -ni

treev
├─dist
│ ├─commander-CXs82Ous.js
│ ├─glob-l0vWOJPs.js
│ └─index.js
├─.gitignore
├─.npmignore
├─README.md
├─package-lock.json
└─package.json

Dependencies (3)

Dev Dependencies (5)

Package Sidebar

Install

npm i treev

Weekly Downloads

1

Version

0.0.8

License

MIT

Unpacked Size

117 kB

Total Files

5

Last publish

Collaborators

  • penguin0731