Expand description
context7-cli library crate.
Exposes the public module hierarchy and the top-level run entry point
used by the binary crate in src/main.rs.
§Module overview
| Module | Responsibility |
|---|---|
errors | Structured error types (errors::ErroContext7) |
i18n | Bilingual i18n (EN/PT) — i18n::Mensagem variants and i18n::t lookup |
storage | XDG config storage, four-layer key hierarchy, keys subcommand operations |
api | HTTP client, retry-with-rotation, Context7 API calls and response types |
output | All terminal output — the only module allowed to use println! |
cli | Clap structs, subcommand dispatchers |
Modules§
Structs§
- Guarda
Log - Wraps the
WorkerGuardfromtracing-appender.
Functions§
- inicializar_
logging - Initialises dual logging: terminal (stderr with ANSI) and log file.
- run
- Main library entry point called from
src/main.rs.