Parsec sequestre dump
Rename of #2363
For the tests, you'd better use the following pattern: 1 - init an empty sqlite db 2 - have a SQL command with plenty of INSERT inlined in your test that you run to put data in your db 3 - run you export command with a temporary folder as output 4 - check the output folder has the expect hierarchy and file contents
This avoid having to implement serialization code (only needed to do the step 2) and make you tests more realistic since you use the db format as a clear separation in your tests
Waiting Storage's PR for some improvements:
- tmp_path
The
CLIis missing help message
You are rude :(, we already have
parsec_sequestre_dump 0.0.0
Simple program that dumps files and folders in a workspace
USAGE:
parsec_sequestre_dump --input <INPUT> --key <KEY> --output <OUTPUT>
OPTIONS:
-h, --help Print help information
-i, --input <INPUT> Sqlite input file (e.g `my/workspace_export.sqlite`)
-k, --key <KEY> Secret key (e.g `my/keyfile.key`)
-o, --output <OUTPUT> Output directory (e.g `./output`)
-V, --version Print version information
You are rude :(, we already have
I've just learn something.
that clap now handle doc-comment