# Fargate Tools

## What?
This is the dockerized version of the previously existing Python scripts in `fargate/` directory. We are moving away from those and migrating to this. The implementation here deviates from the existing Python scripts in the following ways:

* Dependencies are managed using `Poetry`
* Command-line tooling uses `Typer`
* Dev tools for linting and type checking - try out `make fmt`, `make lint` commands

## Running

### Local/workstation

```sh
# Install the dependencies
poetry install
# See what commands are available
poetry run fargate_tools --help
```

### From Dockerfile

```sh
# Build Dockerfile
docker compose build from_dockerfile

# See what commands are available
docker compose run from_dockerfile --help
```

### From ECR Docker image (WIP - we haven't pushed an image yet)

```sh
docker compose run from_ecr --help
```
