# cxv

CLI for CXV.ONE.

## Install

```bash
pip install cxv
```

## Login

```bash
cxv login --email you@example.com --password "..."
```

## Usage

```bash
cxv whoami
cxv projects list
cxv projects create --name "My Bot"
cxv projects get --project-id <project-id>
cxv projects archive --project-id <project-id>
cxv projects unarchive --project-id <project-id>
cxv projects api-keys list --project-id <project-id>
cxv projects api-keys create --project-id <project-id>
cxv projects api-keys revoke --project-id <project-id> --key-id <key-id>
cxv workflows list --project-id <project-id>
cxv workflows get --workflow-id <workflow-id>
cxv workflows publish --workflow-id <workflow-id>
cxv workflows deploy --workflow-id <workflow-id>
cxv workflows run --workflow-id <workflow-id>
cxv workflows deployments --workflow-id <workflow-id>
cxv workflows requirements --workflow-id <workflow-id>
cxv deployments runs --deployment-id <deployment-id>
cxv runs logs --run-id <run-id>
```

## Notes
- CLI stores an auth cookie in `~/.cxv/config.json`.
- Use `cxv logout` to clear the session.
