Metadata-Version: 2.4
Name: haplohub-cli
Version: 0.0.4
Summary: HaploHub Command Line Interface
Author-email: Mike Polcari <mike@haplotype-labs.com>, Ilya Khrustalev <ilya@haplotype-labs.com>
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: auth0-python>=4.8.0
Requires-Dist: click>=8.1.8
Requires-Dist: haplohub>=1.0.6
Requires-Dist: pendulum>=3.0.0
Requires-Dist: python-dotenv>=1.0.1
Requires-Dist: requests>=2.32.0
Requires-Dist: rich>=13.9.4

# HaploHub CLI

HaploHub is a platform for haplotype data storage and analysis. This CLI provides a way to interact with the HaploHub API.

## Installation

To install the CLI, run the following command:

```bash
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip
pip install haplohub-cli
```

You can ensure that the CLI is installed correctly by running the following command:

```bash
haplohub version

# HaploHub CLI version 0.1.0
```

## Usage

```bash
haplohub --help
```

### Login

The first time you run the CLI, you will be prompted to login.

```bash
haplohub login
```

This will open a browser window to the HaploHub login page. Once you login, you will be redirected to the CLI.
```bash
Your browser has been opened to authenticate with HaploHub.

    https://xxx.us.auth0.com/authorize...

Successfully authenticated with HaploHub.
```
