Metadata-Version: 2.4
Name: dxlabs
Version: 0.1.2
Summary: A CLI tool by DX Labs to manage project assets, starting with .env on S3
Author-email: DX Labs <contact@dxlabs.io>
Requires-Python: >=3.9
Requires-Dist: boto3>=1.34.0
Requires-Dist: click>=8.1.0
Requires-Dist: pydantic-settings>=2.2.0
Requires-Dist: rich>=13.7.0
Description-Content-Type: text/markdown

# dxlabs

A Python CLI tool by DX Labs to manage project assets. Currently supporting `.env` file management on AWS S3.

## Installation

```bash
pip install dxlabs
```

## Usage

### Initialize configuration

```bash
dxlabs init --bucket my-env-bucket --project my-project-name --profile my-aws-profile
```

### Push local .env to S3

```bash
dxlabs env push --env development
# or scan and push all discovered .env files
dxlabs env push
```

### Pull from S3 to local .env

```bash
dxlabs env pull --env staging
# or pull all files stored for the project
dxlabs env pull
```

### List environment files on S3

```bash
dxlabs env list
```

### Delete .env from S3

```bash
# Delete a specific environment
dxlabs env delete --env staging
# Delete a specific file path
dxlabs env delete --file .env.prod
# Delete ALL environment files for the project
dxlabs env delete --all
```

## Features

- **Multi-Environment Support**: Specify environments like `dev`, `staging`, `prod`.
- **S3 Backend**: Secure storage in your own AWS S3 bucket with full S3 URI visibility.
- **Batch Operations**: Push or pull all environment files in one command.
- **CI/CD Integration**: Supports AWS environment variables for credentials.
