# Deprecation Notice

⚠️ **Attention:** This feature is deprecated and will be removed in a future release. We recommend transitioning to the new system as soon as possible to ensure continued support and improvements.

---

## Git Flow for New Corrections and Features

![Git Flow for New Corrections and Features](doc-images/features.png)

---

## Git Flow for Hotfixes

![Git Flow for Hotfixes](doc-images/hotfix.png)

# konxtract
> konxtract

Konxtract is a CLI that has multiple functions within the main function of extracting data from zipper clients.

## Build Setup


### set global variable
To be able to run the application, first configure your GOOGLE_APPLICATION_CREDENTIALS .

```bash
### to open the file responsible for system environment variables as well.
sudo nano ~/.bashrc

### add at the end of the file the export that points to the file with the google credentials
export GOOGLE_APPLICATION_CREDENTIALS=<path do arquivo>/konselior-2165675fe84a.json

### update the current terminal to add the credentials
source ~/.bashrc
```

## dependencies

```bash
### install dependencies
$ npm install

### make konxtract a symbolic link from globally-installed
$ npm link 
```

## commands

```bash
### manual integrations
konxtract -i "Nome do Cliente" 

### automatic integration of clients by integration
konxtract -i "Nome da integração" --customerId "id do customer" 
```