Skip to content

Latest commit

 

History

History
30 lines (25 loc) · 808 Bytes

cli-instructions.md

File metadata and controls

30 lines (25 loc) · 808 Bytes

The CIDC Command-Line Interface

To upload assay data to the CIDC, you will use the CIDC Command-Line Interface (CLI). For detailed guidelines on how to upload a particular assay type, browse the assay-specific documentation.

Installation

To install the CIDC CLI, run the following command:

sudo pip3 install cidc-cli

Help

To display a help message outlining the available commands for the CLI, run:

cidc

The default environment is set to production (prod). To switch to staging for testing purposes, run:

cidc config set-env staging

Log In

Before uploading data, you'll need to log in. To do so, run:

gcloud auth login
cidc login [token]

Note: the above line contains your valid identity token. Copy-and-paste it to log in.