Product
Introducing Ruby Support in Socket
Socket is launching Ruby support for all users. Enhance your Rails projects with AI-powered security scans for vulnerabilities and supply chain threats. Now in Beta!
tree-emoji-cli
Advanced tools
List contents of directories in tree-like 🌳 format with Emojis 📁📄🖼️
Tree-emoji-cli is a recursive directory listing program that produces a depth indented listing of files. With no arguments, tree lists the files in the current directory. When directory arguments are given, tree lists all the files and/or directories found in the given directories each in turn with emojis. Upon completion of listing all files/directories found, tree returns the total number of files and/or directories listed.
Command:
tree -l 2 -o output.txt
Result:
D:\Sandoche\00 - Projects\Producthunt-floating-prompt
├── 📁 lib
| ├── 📄 producthunt-floating-prompt.js
| └── 📄 producthunt-floating-prompt.min.js
├── 📄 LICENSE
├── 🖼️ logo.gif
├── 📄 package-lock.json
├── 📄 package.json
├── 📄 README.md
├── 📁 src
| ├── 📄 floatingPrompt.js
| └── 📄 index.js
├── 📁 test
| ├── 📄 index.html
| ├── 📄 index.spec.js
| └── 📄 mocha.opts
├── 📄 webpack.config.js
└── 📄 yarn.lock
directory: 636 file: 14
npm install -g tree-emoji-cli
use the command tree
or treee
(to avoid confliction with system command)
NOTE: use treee
instead of tree
on windows system.
tree/treee
tree --help
use -l levelNumber
to specify the path level.
tree -l 2
use -o outputFilePath
to specify the output file.
tree -l 2 -o out.txt
use -d
to show directories only.
tree -l 2 -o out.txt -d
see Options.
you should just use the treee
command as tree
has been already taken by windows system.
treee -l 2 -o out.txt -d
'node_modules/, .git/, .gitignore'
This library has been forked from https://github.com/MrRaindrop/tree-cli
Please ⭐️ this repository if this project helped you!
If you like this project, feel free to donate:
FAQs
List contents of directories in tree-like format with emojis 🌳📁📄
The npm package tree-emoji-cli receives a total of 3 weekly downloads. As such, tree-emoji-cli popularity was classified as not popular.
We found that tree-emoji-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket is launching Ruby support for all users. Enhance your Rails projects with AI-powered security scans for vulnerabilities and supply chain threats. Now in Beta!
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.