Public Notes
on
histre
sheax0r/rubyshell · GitHub
github.com
"DSL to make shell operations easier within a ruby program. Mainly intended for use via IRB. I would like to be able to use Pry, but Pry's builtin commands interfere with simple use of the DSL. Note: You can still use this with pry - just not from the default namespace. You'd need to include the DSL in a module, and then invoke the DSL methods on the module."
"
Usage
irb> require 'rubygems'
irb> require 'rubyshell'
irb> do stuff!
Supported commands:
ls
cd
pushd
popd
mkdir
rm
rmdir
rmdir_force
touch
cat"
#Ruby #gems #irb #cli #pry #DSLs #pub
Show More
Collect and share the web
Get started for free