Skip to content
Git-friently replacement for the tree command.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Scripts
Sources
.gitignore
.swift-version
.travis.yml
LICENSE.md
Makefile
Package.resolved
Package.swift
README.md

README.md

tre

A replacement for tree command that uses git ls-files as source of file when possible.

Install

Homebrew

brew install dduan/formulae/tre

Mint

mint install dduan/tre

Help

usage: tre [option] [path]

Print files, directories, and symlinks in tree form.
Hidden files and those configured to be ignored by git will be (optionally) ignored.

options:
  -a --all      Print all files and directories, including hidden ones.
  -s --simple   Use normal print despite gitignore settings. '-a' has higher priority.
  -h --help     Show this help message.
  -v --version  Show version.

License

MIT. See LICENSE.md.

You can’t perform that action at this time.