🎨
🌲
Dir Tree Artist Intro
Easily view folder structure, with parameters to sieve out what you want. Choose to exclude files from being viewed (.git, node_modules) and also specify maximum depth to prevent a huge output.
Installation
pip install dir-tree-artist
Usage
General use
python3 -m dir-tree-artist -f FOLDER_TO_TRAVERSE -d[optional] MAX_DEPTH -e[optional] EXCLUDED1,EXCLUDED2...
Output to file tree.txt
python3 -m dir-tree-artist -f my_folder > tree.txt
Example:
-> my_folder
->[+] node_modules
-> README.md
->[+] public
-> .gitignore
-> package-lock.json
-> package.json
->[+] .git
->[+] src
View children of all folders within my_folder EXCLUDING .gitignore, .git, node_modules
python3 -m dir-tree-artist -f my_folder -d 2 -e .gitignore,.git,node_modules