Update Collected Datasets
This command is for updating and/or publishing a list Collected Datasets which are ID is filtered by a regular expression. The goal is to automate the linkage between a table in Opal with a collected dataset in Mica.
mica update-collected-datasets ID <CREDENTIALS> [OPTIONS] [EXTRA]
Arguments
Argument |
Description |
---|---|
|
A regular expression to filter the collected dataset identifiers. |
Options
Option |
Description |
---|---|
|
The associated Opal project. |
|
Dry run of the command to list the collected datasets matching the regular expression. |
|
Publish the collected datasets. |
|
Unpublish the collected datasets. |
Credentials
Authentication is done by username/password credentials.
Option |
Description |
---|---|
|
Mica server base url. |
|
User name. User with appropriate permissions is expected depending of the REST resource requested. |
|
User password. |
Extras
Option |
Description |
---|---|
|
Show the command help’s message |
|
Verbose output |
Example
Link the collected datasets which ID starts with ‘cls-wave’ in local Mica to a project in Opal and publish them.
mica update-collected-datasets -u administrator -p password --project CLS --publish '^cls-wave'