Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to just print it, not inserting it #14

Open
moonglum opened this issue Jul 4, 2013 · 3 comments
Open

Option to just print it, not inserting it #14

moonglum opened this issue Jul 4, 2013 · 3 comments

Comments

@moonglum
Copy link

moonglum commented Jul 4, 2013

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 😄
Not sure yet how to name this option. Maybe --dry or --print?

@mivanek
Copy link
Contributor

mivanek commented Jul 4, 2013

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.

@DruRly
Copy link
Owner

DruRly commented Jul 4, 2013

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

--print sounds like the better option name.

@shime
Copy link
Contributor

shime commented Jul 4, 2013

❤️

I like the idea!

Sorry for being away, super busy this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants