List all unique file extensions from a given directory recursively
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
test
.gitignore
.rubocop.yml
.yardopts
CHANGELOG.md
Gemfile
Guardfile
LICENSE
README.md
Rakefile
extension_lister.gemspec

README.md

extension_lister

Gem Version Dependency Status Code Climate

Installation

Add this line to your application's Gemfile:

gem 'extension_lister'

And then execute:

$ bundle

Or install it yourself as:

$ gem install extension_lister

Usage

  • List all extension from a current directory (recursively)
extension_lister

For typical ruby project like (e.g. this gem), we should get something like:

.gem
.gemspec
.lock
.md
.rb
  • List all extension from a given directory
extension_lister -b ~/Downloads

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request