gemrat icon indicating copy to clipboard operation
gemrat copied to clipboard

Option to just print it, not inserting it

Open moonglum opened this issue 12 years ago • 3 comments

I suggest to add an option to gemrat, that will just print the line that would be added instead of inserting it into the Gemfile. This could be very useful in a vim plugin for example, just type :Gemrat sinatra and it will insert the correct version at the line your currently at. This will solve the problem for people that have a very strict order in their Gemfile :smile: Not sure yet how to name this option. Maybe --dry or --print?

moonglum avatar Jul 04 '13 08:07 moonglum

Sounds like a good idea to me, but I'll wait for @DruRly's input first. It shouldn't take too long to implement at first glance.

mivanek avatar Jul 04 '13 12:07 mivanek

If this is something you guys would find useful; I'm all for it! :thumbsup:

--print sounds like the better option name.

DruRly avatar Jul 04 '13 13:07 DruRly

:heart:

I like the idea!

Sorry for being away, super busy this week.

shime avatar Jul 04 '13 14:07 shime