Skip to content

Latest commit

 

History

History
65 lines (41 loc) · 1.37 KB

README.md

File metadata and controls

65 lines (41 loc) · 1.37 KB

bjt

bjt(bundle jump to), a quick navigation tool for bundle packages like njt.

Gem Version

Installation

Add this line to your application's Gemfile:

gem 'bjt'

And then execute:

$ bundle install

Usage

$ bundle exec bjt [destination] [package]

Destinations:

  • h -> Jump To Homepage
  • g -> Jump To Github
  • p -> Jump To Gems Repos
  • s -> Jump To Source
  • d -> Jump To Library RDocs
  • r -> Jump To Releases
  • l -> Jump To Local Dir

Examples

bjt h bundler (homepage)
https://bundler.io/

bjt g bundler (github)
https://github.com/rubygems/bundler

bjt p bundler (rubygems)
https://rubygems.org/gems/bundler

bjt s bundler (source)
https://github.com/rubygems/bundler

bjt d bundler (rdocs)
https://www.rubydoc.info/gems/bundler/2.1.4

bjt r bundler (release)
https://github.com/rubygems/bundler/releases

bjt l bundler (Gem Installed Dir)
→ Use $EDITOR Open: /Users/xxx/.rbenv/versions/2.x.x/lib/ruby/gems/2.x.x/gems/bundler-x.x.x

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/superiorlu/bjt.

License

The gem is available as open source under the terms of the MIT License.