s-mage / rush Goto Github PK
View Code? Open in Web Editor NEWThis project forked from adamwiggins/rush
Ruby replacement for bash
This project forked from adamwiggins/rush
Ruby replacement for bash
Hey! Thanks for continuing this project. At this point the docs are kind of missing, and the only way to figure out how to make use of it on a day to day basis, would be trial and error, and looking through the code. If Sergey is using it on a daily basis, could you please add a more real world example/article/blogspot about it's usage?
I have a suggestion: encapsulating commands so you can use ruby code to execute a command.
This would be useful to automate commands that don't have a (useful) library.
It could be implemented by having a command task class and have the user create a child class and overriding a flags hash and the run function. (Maybe a parse function to handle the output.)
$ rush
/usr/local/share/gems/gems/rush2-0.8.0/lib/rush/string_ext.rb:1:in `require_relative': cannot load such file -- /usr/local/share/gems/gems/rush2-0.8.0/lib/rush/path (LoadError)
from /usr/local/share/gems/gems/rush2-0.8.0/lib/rush/string_ext.rb:1:in `<top (required)>'
from /usr/local/share/gems/gems/rush2-0.8.0/lib/rush.rb:83:in `require_relative'
from /usr/local/share/gems/gems/rush2-0.8.0/lib/rush.rb:83:in `<top (required)>'
from /usr/local/share/gems/gems/rush2-0.8.0/bin/rush:3:in `require_relative'
from /usr/local/share/gems/gems/rush2-0.8.0/bin/rush:3:in `<top (required)>'
from /usr/local/bin/rush:23:in `load'
from /usr/local/bin/rush:23:in `<main>'
Would be better user experience if Ctrl-C wouldn't result in a backtrace.
Now it's complex and I don't understand clearly how it works. Moreover, is cause crashes sometime.
We talked briefly at one point about this project, but I was again
toying with a ruby shell, and am thinking about this problem again.
I have a very specific direction I would like to take Rush. I want to
make it a friendly, highly interactive shell -- much more than it
currently is. I want to use Ruby to make the shell an even more
enjoyable environment.
To that end, I ask: what are your goals for Rush? Personally, I am
interested in creative freedom and the ability to explore the
problem. I don't want to invest in Rush if our goals are very
different. For example, I see little value in the remote/ssh
replacement aspects of
Rush, and would probably completely remove these features.
Hi. Maybe it is a good idea - use pry for some shell-based actions and some additional modules for replacing bash functionality?
Mongel is used for running web-server on remote machine and put requests there. At first, it's insane, we can just use ssh tunnels. And the worst: mongrel doesn't even works, I can't install it.
TODO: ssh via net/ssh or some other tool.
Would be nice if piping would be supported:
ls | grep foo
or provide some better interfaces for this:
ls.grep foo
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.