Macでtreeコマンドを使えるようにする
Homebrewでさくっとインストールできるようです
$brew install tree
たとえばRailsアプリケーションをtreeで表示した場合
$rails new hanson $tree hanson hanson/ ├── Gemfile ├── Gemfile.lock ├── README.rdoc ├── Rakefile ├── app │ ├── assets │ │ ├── images │ │ ├── javascripts │ │ │ └── application.js │ │ └── stylesheets │ │ └── application.css │ ├── controllers │ │ ├── application_controller.rb │ │ └── concerns │ ├── helpers │ │ └── application_helper.rb │ ├── mailers │ ├── models │ │ └── concerns │ └── views │ └── layouts │ └── application.html.erb ├── bin │ ├── bundle │ ├── rails │ ├── rake │ └── spring ├── config │ ├── application.rb │ ├── boot.rb │ ├── database.yml │ ├── environment.rb │ ├── environments │ │ ├── development.rb │ │ ├── production.rb │ │ └── test.rb │ ├── initializers │ │ ├── assets.rb │ │ ├── backtrace_silencers.rb │ │ ├── cookies_serializer.rb │ │ ├── filter_parameter_logging.rb │ │ ├── inflections.rb │ │ ├── mime_types.rb │ │ ├── session_store.rb │ │ └── wrap_parameters.rb │ ├── locales │ │ └── en.yml │ ├── routes.rb │ └── secrets.yml ├── config.ru ├── db │ └── seeds.rb ├── lib │ ├── assets │ └── tasks ├── log ├── public │ ├── 404.html │ ├── 422.html │ ├── 500.html │ ├── favicon.ico │ └── robots.txt ├── test │ ├── controllers │ ├── fixtures │ ├── helpers │ ├── integration │ ├── mailers │ ├── models │ └── test_helper.rb ├── tmp │ └── cache │ └── assets └── vendor └── assets ├── javascripts └── stylesheets