edna-cli
v1.0.1
Published
CLI for downloading eDNA data from the database maintained by the Bigelow Lab
Downloads
3
Readme
edna-cli
CLI for downloading eDNA data from the database maintained by the Bigelow Lab
Usage
$ npm install -g edna-cli
$ edna COMMAND
running command...
$ edna (-v|--version|version)
edna-cli/0.0.1 linux-x64 node-v10.16.3
$ edna --help [COMMAND]
USAGE
$ edna COMMAND
...
Commands
edna download
Download eDNA data from database
USAGE
$ edna download
OPTIONS
-b, --lon_max=lon_max maximum longitude to query (default 180)
-c, --species=species species to query
-d, --date_min=date_min oldest date to query. Must be in form YYYY.MM.DD (default 2000.01.01)
-e, --date_max=date_max most recent date to query Must be in form YYYY.MM.DD (default 2020.01.01)
-f, --filename=filename name of downloaded CSV file
-l, --lat_min=lat_min minimum latitude to query (default -90)
-m, --lat_max=lat_max maximum latitude to query (default 90)
-n, --lon_min=lon_min minimum longitude to query (default -180)
-p, --project=project project name to query
-s, --site=site site name to query
DESCRIPTION
...
To download the data as a CSV file, use the download command:
edna download [options]
See code: src/commands/download.js
edna help [COMMAND]
display help for edna
USAGE
$ edna help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help