fix: remove cli
All checks were successful
Rust / test (push) Successful in 29s
Rust / check (push) Successful in 34s
Docker / build (push) Successful in 1m23s

This commit is contained in:
2026-06-16 14:45:56 +02:00
parent 8268bd9692
commit 59cf0d861d
3 changed files with 2 additions and 301 deletions

View File

@@ -39,17 +39,6 @@ make run
The API listens on `0.0.0.0:8000` by default.
## CLI helper
With the API running in another terminal, call it through the small helper binary:
```bash
make cli-health
make cli-pokemon
make cli-translated
make cli-pokemon POKEMON=pikachu BASE_URL=http://localhost:8000
```
## Endpoints
```bash
@@ -80,7 +69,6 @@ This is a small Rust service, so the structure is intentionally a lightweight he
```mermaid
flowchart LR
CLI[CLI helper] --> HTTP
HTTP[HTTP layer: axum routes, handlers, middleware] --> Application
Application[Application service: use cases and translation rules] --> Domain
Application --> Clients
@@ -96,7 +84,7 @@ flowchart LR
- `clients`: adapters for external providers (`PokéAPI`, `FunTranslations`).
- `http`: API transport concerns, routing, handlers, request IDs, metrics middleware, and rate limiting.
- `telemetry`: OpenTelemetry metrics and tracing setup.
- `bin`: executable entrypoints for the API and the local CLI helper.
- `bin`: executable entrypoint for the API.
## Deliberate trade-offs