Skip to main content

tree-node-cli

该工具可以用于打印整个项目文件树结构,官网:https://github.com/yangshun/tree-node-cli

$ tree -L 2 -I "node_modules" # max_depth=2 & exclude "node_modules"
tree-node-cli
├── LICENSE
├── README.md
├── __tests__
│ ├── __fixtures__
│ ├── __snapshots__
│ ├── fixtures
│ └── tree.test.js
├── bin
│ └── tree
├── jest.config.js
├── package.json
├── tree.js
└── yarn.lock