tombenner / ru

Ruby in your shell!
MIT License
402 stars 11 forks source link

Alias / Saved List Repo? #10

Open ylluminate opened 9 years ago

ylluminate commented 9 years ago

This is a fantastic tool. I've been around Unix and the shell for a very long time, but you get to the point where using the various incantations of sed, awk, etc. do get both tiresome and burdensome! One language to rule them all is becoming more and more appealing and you've really opened up one of the final gateways for that concept here in my book. With Opal we've been able to effectively remove or minimize exposure to JS and so this is exciting.

Have you considered throwing together an alias db, so to speak, where users can dump useful saved commands? Would be pretty nice to have a handy reference resource to pull in useful commands. Perhaps even to go so far as to build a solution that when you click an entry's "Save" button in the browser, it will save the remote incantation right into your local ru's saved command list.

Anyway, a thought. Could have use, especially for building a community around the tool.

tombenner commented 9 years ago

This would be great! To keep the implementation simple, perhaps the commands could be defined in a repo, and new commands could be added and reviewed by the community. It'd be great to have more of a community around ru.

Do you have any thoughts on how to best implement it? A repo was my initial thought, but I'm not sure if you've given it more thought than I have. Thanks!

ylluminate commented 9 years ago

Well, I think that community for your creation here is absolutely the key to accomplish both growth and longevity for such a gem!

I can definitely appreciate the simplicity of the repo approach, but I think we ultimately need something a little more community driven. I was thinking more along the lines of http://www.commandlinefu.com/ where you essentially vote things up and down and then there would be a button on each one to simply click and it would add it to a local config. This local config would also then be presented in a config GUI on the website that would store your ru configs "in the cloud" for backup and management purposes. There's a bit more rolling around in my head, but that kind of captures the gist of it...