a db2 console with with history and autocomplete support
DB2 console mode does not support readline and autocomplete, this is a wrapper for the db2 command with support for both.
Install
$ apt-get install rlwrap $ gem install db2c
Contributing
Once you've made your great commits:
- Fork db2c
- Create a topic branch -
git checkout -b my_branch
- Push to your branch -
git push origin my_branch
- Create an Issue with a link to your branch
- That's it!
Acknowledgement
Chris Jester-Young (CKY) found out the problem of using shell metacharacters when executing commands from Ruby. The initial script was inspired by defunkt's repl, for a genenral purpose repl/wrapper, this is your friend.
Meta
- Code:
git clone git://github.com/on-site/db2c.git
- Home: https://github.com/on-site/db2c
- Bugs: https://github.com/on-site/db2c/issues
- Gems: http://rubygems.org/gems/db2c
Author
Samer Abukhait [email protected], @s4mer