DEV Community

loading...
Cover image for Tree sturcture of your project

Tree sturcture of your project

Visakh Vijayan
Willing to learn anything and everything exciting. Always awake. Skips food for fun.
Updated on ・1 min read

So I wanted to send a screenshot of my project structure to one of my juniors. The first thing that struck me was taking a snapshot of the VS Code directory.

Well that did do the work. But I wanted to see if there are more alternatives of doing this.

Welcome , tree

sudo snap install tree
Enter fullscreen mode Exit fullscreen mode

Go to the project structure and type -

tree src/
Enter fullscreen mode Exit fullscreen mode

If you type tree ., it shows up the node_modules folder too which we don't actually need.

And here is the output.

Project Structure

Happy hacking!

Discussion (0)