# Description
This is a tool to manage the list of shared UPCs for SME share.

## Usage
```bash
python main.py --action [action] --upcs=[upcs list]

```
where
 - action - Action name. There are 2 possible options - `add` and `delete`.
 - upcs list - Space-separated list of UPCs.

## Docker
Share manager could also be run inside Docker.

Building:
```bash
docker build -t local/sme-share-manager .
```

Running:
```bash
docker run -e SNOWFLAKE_USER -e SNOWFLAKE_PASSWORD -e SNOWFLAKE_ACCOUNT -e SNOWFLAKE_WAREHOUSE -e SNOWFLAKE_DATABASE -e SNOWFLAKE_SCHEMA -e SNOWFLAKE_ROLE -ti local/sme-share-manager python main.py --action [action] --upcs=[upcs list]
```
