Use tree command.
tree# Output.├── dist│ ├── bundle.js│ └── index.html├── src│ └── index.js├── package.json└── webpack.config.js
tree --charset unicode# Output.|-- dist| `-- bundle.js| `-- index.html|-- src| `-- index.js|-- package.json`-- webpack.config.js
Ignore file or directory pattern with -I .
tree -I 'dist|*.json'# Output.├── src│ └── index.js└── webpack.config.js