# Script to cancel backlog for provided store.

This script will cancel the backlog for the provided store and encoder.

### Installation

Ensure you have docker and AWS access to the shared ECR.

### Running the script

1. Rename the .env.shadow to .env
1. Update the delivery_history database credentials in .env file
1. run the script by running following command providing the store_id, encoder_id, error_log message.
    ```sh
    docker compose run app <store_id> --encoder_id <encoder_id> --error_log <error_log_msg>
    ```

### Development Commands

```sh
# Format python files
docker compose run --build --rm format

# Run tests
docker compose run --build --rm lint-and-test
```
