Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/calebhearth/ftree
https://github.com/calebhearth/ftree
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/calebhearth/ftree
- Owner: calebhearth
- License: mit
- Created: 2023-05-11T21:26:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-05-11T21:27:07.000Z (over 1 year ago)
- Last Synced: 2024-10-15T19:43:42.421Z (2 months ago)
- Language: Go
- Homepage:
- Size: 6.64 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
ftree
=====Convert lists of files into `tree(1)`-like output.
Usage
-----```shell
❯ 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](/dist).