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:

  1. Fork db2c
  2. Create a topic branch - git checkout -b my_branch
  3. Push to your branch - git push origin my_branch
  4. Create an Issue with a link to your branch
  5. 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

Author

Samer Abukhait [email protected], @s4mer