Skip to main content

Crate context7_cli

Crate context7_cli 

Source
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

ModuleResponsibility
errorsStructured error types (errors::ErroContext7)
i18nBilingual i18n (EN/PT) — i18n::Mensagem variants and i18n::t lookup
storageXDG config storage, four-layer key hierarchy, keys subcommand operations
apiHTTP client, retry-with-rotation, Context7 API calls and response types
outputAll terminal output — the only module allowed to use println!
cliClap structs, subcommand dispatchers

Modules§

api
cli
errors
i18n
output
platform
Platform-specific initialization for console encoding and ANSI support.
storage

Structs§

GuardaLog
Wraps the WorkerGuard from tracing-appender.

Functions§

inicializar_logging
Initialises dual logging: terminal (stderr with ANSI) and log file.
run
Main library entry point called from src/main.rs.