This repository has been archived by the owner. It is now read-only.
tree, but from stdin
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Godeps Reorganize and add tests Oct 7, 2015
bin Reorganize and add tests Oct 7, 2015
dist Add installation and verification instructions Oct 9, 2015
tree
CONTRIBUTING.md Add LICENSE and attribute to thoughtbot Oct 10, 2015
LICENSE
README.md Add thoughtbot Go service page link Jul 28, 2016
build Build script to build, sign, & sum cross-platform Mar 8, 2016
circle.yml
main.go ftree 0.2.0 Oct 8, 2015

README.md

ftree

Convert lists of files into tree(1)-like output.

Usage

❯ git ls-files | ftree
├── README.md
└── ftree.go

❯ lsrc | cut -f 1 -d : | ftree
└── Users/gordon
    ├── .agignore
    ├── .config
    │   ├── git
    │   │   ├── config
    │   │   └── ignore
    │   └── zsh
    │       ├── aliases.zsh
    │       ├── completion.zsh
    │       └── prompt.zsh
    ├── .gemrc
    ├── .local/bin
    │   ├── addcontact
    │   ├── git-review
    │   ├── keychain.py
    │   └── tat
    ├── .muttrc
    ├── .rcrc
    ├── .vimrc
    └── .zshrc

❯ find ~/code/jsbox/{app,spec}/models
/Users/caleb/code/jsbox/app/models
/Users/caleb/code/jsbox/app/models/.keep
/Users/caleb/code/jsbox/app/models/analytics.rb
/Users/caleb/code/jsbox/app/models/concerns
/Users/caleb/code/jsbox/app/models/concerns/.keep
/Users/caleb/code/jsbox/app/models/execution_record.rb
/Users/caleb/code/jsbox/app/models/guest.rb
/Users/caleb/code/jsbox/app/models/organization.rb
/Users/caleb/code/jsbox/app/models/script.rb
/Users/caleb/code/jsbox/app/models/script_runner.rb
/Users/caleb/code/jsbox/app/models/subscription.rb
/Users/caleb/code/jsbox/app/models/user.rb
/Users/caleb/code/jsbox/spec/models
/Users/caleb/code/jsbox/spec/models/script_runner_spec.rb
/Users/caleb/code/jsbox/spec/models/script_spec.rb
/Users/caleb/code/jsbox/spec/models/subscription_spec.rb
/Users/caleb/code/jsbox/spec/models/user_spec.rb

❯ !! | ftree
└── Users/caleb/code/jsbox
    ├── app/models
    │   ├── .keep
    │   ├── analytics.rb
    │   ├── concerns/.keep
    │   ├── execution_record.rb
    │   ├── guest.rb
    │   ├── organization.rb
    │   ├── script.rb
    │   ├── script_runner.rb
    │   ├── subscription.rb
    │   └── user.rb
    └── spec/models
        ├── script_runner_spec.rb
        ├── script_spec.rb
        ├── subscription_spec.rb
        └── user_spec.rb

Installation

See /dist.

About

ftree is maintained by Caleb Thompson and thoughtbot's Go development team.

thoughtbot

The names and logos for thoughtbot are trademarks of thoughtbot, inc.