Metadata-Version: 2.1
Name: brevo-dc-cli
Version: 0.1.3
Summary: datacontract CLI for Brevo's data team
Home-page: 
Author: Filah Anas
Author-email: anas.filah@brevo.com
Description-Content-Type: text/markdown
Requires-Dist: deltalake
Requires-Dist: datacontract-cli==0.10.9
Requires-Dist: pyspark==3.5.1
Requires-Dist: google-cloud-secret-manager==2.16.0
Requires-Dist: soda-core-bigquery

# brevo-dc-cli

`brevo-dc-cli` is a command-line interface (CLI) tool for managing data contracts in Brevo. This tool provides commands to generate, compare, publish, and perform all operations related to data contracts.

## Installation

To install `brevo-dc-cli`, use pip:

```bash
pip install brevo-dc-cli
```

## Usage
The dc-cli tool provides several commands for working with data contracts. Below is a list of the available commands and their descriptions.
### Generate Data Contract
```bash
brevo-dc-cli datacontract -m  generate [project_id] [dataset_id] [table_id] [data_column] [date_column]

```
### Diff Data Contracts
Compare data contracts to identify differences.
```bash
brevo-dc-cli datacontract -m diff [table_id]
```


### Publish Data Contract

```bash
brevo-dc-cli datacontract -m publish [gcp_table_id]
```

### All Operations
```bash
brevo-dc-cli datacontract -m all [project_id] [dataset_id] [table_id] [data_column] [date_column]
```

## Command Options
-m: Specifies the module to use, in this case, datacontract.
