A DB2 console with history and autocomplete support, and few other goodies
DB2 console mode does not support readline and autocomplete, this is a wrapper for the db2 command mode with support for both. It also tries to make using db2 a little bit more tolerable, adding support for psql-like commands and other shortcuts.
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