Meenta Command Line

Meenta offers a command line tool to work with our account, instruments and samples. It is designed to provide secure access to the Meenta Cloud, for secure file storage and transfer, as well as labs who are interested in integration with our API.

Installation

First step is install the cli. Use the following npm command.

  • npm install -g https://github.com/Meenta/meenta-cli/tarball/master
  • Stable Version: 0.0.1
  • Reference: Github CLI Repo
  • Node.js >=6.0.0

Remember to include the -g to ensure the package is available from anywhere.

Getting Started

You need an account. You need to generate API keys. Go to the web application and use the Account -> Setting -> API to generate a token and secret. The CLI will maintain your session.

% meenta login [token] [secret]

Upload Sample Data

If you are a host and need to upload sample data, used the following.

% meenta sample upload <sampleId> <file>

Download Sample Data

If you are a user and need to download/receive your sample data, use the following.

% meenta sample download <sampleId> <file>

Features & Commands

The CLI application has its own internal help support.

  • meenta help - Get cli help.

Sample Commands:

  • meenta sample list - Get a list of all sample/projects for your account.
  • meenta sample data - Get a list of all project data files.
  • meenta sample get <id> - Get details for a sample/project.
  • meenta sample upload <id> <file> - Upload a file to the sample storage.
  • meenta sample download <sampleId> <file> - Download a data file.

Instrument Commands:

  • meenta instrument list - Get a list of all instruments for your account.
  • meenta instrument get <id> - Get an instrument details.

Account Commands:

  • meenta login <token> <secret> - Login into account.
  • meenta logout - Log out of the CLI.
  • meenta whoami - Get information about current session/environment.
  • meenta use <environment> - Change the current environment. For Dev Only.
Proud participant of Techstars 2018, Q1