
cobalt2-dbdump - Export Bot::Cobalt::DB databases to YAML

cobalt2-dbdump --database=/path/to/db --output=exported.yml

A simple frontend to the dbdump functionality found in Bot::Cobalt::DB.
Exports specified Bot::Cobalt::DB databases to YAML by default; the --format option can be used to specify any other format supported by Bot::Cobalt::Serializer:
cobalt2-dbdump --format=XML cobalt2-dbdump --format=JSON --database=/path/to/db --output=out.json
If the database and/or output options are not specified, the user is prompted for appropriate paths.

Jon Portnoy <avenj@cobaltirc.org>