Project

rench

0.01
Repository is archived
No commit activity in last 3 years
No release in over 3 years
Keep all the files you use often in a Toolbox. Then easily grab them (or anyones) with Rench.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
>= 0

Runtime

 Project Readme

Rench

Gem Version Code Climate Build Status Dependency Status

Do you ever have a list of files you pull from one project to another? Here is a cooler way to do that:

Put them in your 'toolbox' repo, maintain them, share them, and most importantly, retrieve them easily.

  • Make a Github repository called toolbox.
  • Make a toolbox/tools directory
  • Fill it with all the files you have ever used on more than one project.
  • Make a .markdown file for all your tools so you, and anyone else, know how to use them.
  • When you're working on a project, grab your tools and place them wherever needed with Rench.

Instructions

$ gem install rench

$ rench <github_username> <filename> [new_file_location]
# Rench will only look in the `/tools` directory for <filename>

$ rench mrmicahcooper active_model_spec_helper.rb

#=> Where do you wanna put "active_model_spec_helper"?

(blank)        #=> saves as: active_model_spec_helper.rb
spec_helper.rb #=> saves as: spec_helper.rb
spec/          #=> saves as: spec/active_model_spec_helper.rb
spec           #=> saves as: spec/active_model_spec_helper.rb

Alternatively

You can just enter a Github user and it will print their tools for you to choose one.

$ rench mrmicahcooper

Choose a file:
[0] active_record_spec_helper.rb
[1] formbuilder.rb
[2] html5.js
[3] mixins.sass
[4] step_definitions.rb
[5] support_paths.rb
[6] ui_controller.rb

$ 6

Where do you wanna put "ui_controller.rb"?

...

This is great for exploring other people's toolboxes.

Dependencies

  • You're gonna need curl to get this baby turnin'.