tree command on macOS
One can get tree
command on macOS by using
brew install tree # or nix-env -i tree
A sample is
tree -P 'lang|*.rkt|*.scrbl' -I 'compiled|doc'
for racket project. It produces
. ├── info.rkt ├── main.rkt ├── scribblings │ └── collection-name.scrbl └── tests └── test.rkt