DEV Community

Cover image for Tree sturcture of your project
Visakh Vijayan
Visakh Vijayan

Posted on • Edited on

3 2

Tree sturcture of your project

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!

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more