bjt
bjt(bundle jump to), a quick navigation tool for bundle packages like njt.
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.