Eric DayThoughts, code, and other oddments. |
Dark | Light |
|
|
|
< Scale Stack and Database Proxy Prototype || Drizzle Developer Day Recap > Boots: A Modular CLI for DatabasesApril 8th, 2010
Boots is written in Python and aims to replace the the previous ‘drizzle’ tool (which was modified from the ‘mysql’ command line tool). It doesn’t support everything that the old tool has yet (like tab completion), but it adds some new features. For example, there are multiple ‘lingos’, or modular languages, that can be used to communicate with the shell. This allows you to use plain SQL, Python, or even LISP to interact with the shell. One of the lingos, piped-sql, lets you do interesting things such as:
shell$ boots -u root -h 127.0.0.1 -l pipedsql
Boots (v0.2.0)
127.0.0.1:3306 (server v5.1.40)
> SELECT * FROM mysql.user; | csv_out("users.csv")
5 rows in set (0.06s server | +0.00s working)
> Boots quit.
shell$ cat users.csv
localhost,root,,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,,,,,0,0,0,0
...
It’s ready to use, so download and install it now! If you have any features you would like to see, please get in touch through the Boots blueprints, mailing list, or #boots IRC channel on irc.freenode.net. One of the original developers from the project, Chromakode (the same from the awesome xkcd.com shell), will also be attending the MySQL Conference & Expo next week and helping out with the Drizzle booth. Come find one of us to talk more about the project there! Posted in Drizzle, Main, MySQL2 Responses to "Boots: A Modular CLI for Databases"
Leave a Reply< Scale Stack and Database Proxy Prototype || Drizzle Developer Day Recap > |
Blog Wiki About Resume RSS Comments Launchpad identi.ca OpenStack Scale Stack Gearman NW Veg Veg Food & Fit |
|
Copyright (C) Eric Day - eday@oddments.org All content licensed under the Creative Commons Attribution 3.0 License. Hosted by Rackspace Cloud |
|
*drooling* piped-sql *drooling*
I like the name. It opens up a whole new universe of naming opportunities for Drizzle tools. I think I will hack on Umbrella on my vacation. It’s nice that my feet don’t get wet in the rain, but an Umbrella is to protect your hairdo.
I don’t know… ;-)