aboutsummaryrefslogtreecommitdiff
path: root/cmd/bolt/export_test.go (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove 'import' and 'export' CLI commands.Ben Johnson2015-01-081-43/+0
| | | | | | | | | | | The import and export commands are a relic of early Bolt when the file format was not stable. If the file format changed then users could export their old data and import it into a new database with a new format. The Bolt DB file format is stable and will not change so this command is no longer needed. Thanks to Alejandro Gaviria for pointing this out.
* Remove testify.Ben Johnson2014-07-261-3/+2
|
* Upgrade import/export to use nested buckets.Ben Johnson2014-04-111-5/+12
|
* Add import/export to CLI.Ben Johnson2014-04-111-0/+37
This commit adds two new commands: bolt import --input INPUT PATH bolt export PATH This exports the database in a simple, nested, key/value JSON document. Each node in the document has a "key", a "value", and an optional "type". The key and value fields are both base64 encoded.