fix: remove cli
This commit is contained in:
14
README.md
14
README.md
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user