pipal icon indicating copy to clipboard operation
pipal copied to clipboard

Make it as a gem

Open designium opened this issue 11 years ago • 5 comments

It would be great if you can make it as a gem so pipal command can be used in anywhere in the command line. Also, it makes it easier to maintain your code from the user perspective.

designium avatar Apr 03 '13 15:04 designium

Do you know anything about making gems? Is it an easy process?

On 3 April 2013 16:29, Chim Kan [email protected] wrote:

It would be great if you can make it as a gem so pipal command can be used in anywhere in the command line. Also, it makes it easier to maintain your code from the user perspective.

— Reply to this email directly or view it on GitHubhttps://github.com/digininja/pipal/issues/2 .

digininja avatar Apr 03 '13 15:04 digininja

I use this tutorial:

http://net.tutsplus.com/tutorials/ruby/gem-creation-with-bundler/

and

http://guides.rubygems.org/make-your-own-gem/

In your case, the only issue is to add your ruby command in the PATH automatically, I don't know how to do it, but you may find it here:

http://www.awesomecommandlineapps.com/gems.html

This gem seems to be interesting to your project: https://github.com/davetron5000/gli

I hope this helps.

designium avatar Apr 03 '13 16:04 designium

I'll see what I can do with this after I've got the new modular branch released.

digininja avatar Apr 22 '13 10:04 digininja

Well...seven years have passed...

q2dg avatar Jul 28 '20 20:07 q2dg

Feel free to submit a pull request

On Tue, 28 Jul 2020, 21:51 Osqui LittleRiver, [email protected] wrote:

Well...seven years have passed...

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/digininja/pipal/issues/2#issuecomment-665276162, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA4SWPNTMIBECAVBJ4ZQIDR54257ANCNFSM4AEMQYBQ .

digininja avatar Jul 28 '20 21:07 digininja