ftree

command module
v0.0.0-...-1b8a9ca Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2016 License: MIT Imports: 4 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL