isamplesorg / isamples_inabox

Provides functionality intermediate to a collection and central
0 stars 1 forks source link

Export client cli #375

Closed dannymandel closed 2 months ago

dannymandel commented 2 months ago

CLI wrapper around the export client. Has ability to refresh previous downloads.

Usage: export_client_cli.py [OPTIONS]

Options:
  -q, --query TEXT          The solr query to execute.
  -d, --destination TEXT    The destination directory where the downloaded
                            content should be written.
  -r, --refresh-dir TEXT    If specified, will read the manifest.json out of
                            an existing directory and re-execute the query to
                            update results.
  -t, --jwt TEXT            The JWT for the authenticated user.
  -u, --url TEXT            The URL to the iSamples export service.
  -f, --format [jsonl|csv]  The format of the exported content.
  --help                    Show this message and exit.