ytcli/lib.rs
1//! Token-efficient Yandex Tracker client for humans and AI agents.
2//!
3//! The crate is split so that the CLI shell (`crate::cli`) stays thin and every
4//! piece it needs is independently testable:
5//!
6//! * [`config`] — layered profile resolution (flag -> env -> `.tracker.toml` -> user config).
7//! * [`secrets`] — OS keychain access; tokens never live in config files.
8//! * [`api`] — the HTTP layer against the Tracker REST API.
9//! * [`render`] — the output ladder (compact text / json / toon). This is the product:
10//! see `docs/adr/0003-output-ladder.md` before changing any default shape.
11//! * [`exit`] — process exit codes shared by the shell and the integration tests.
12
13pub mod api;
14pub mod cli;
15pub mod config;
16pub mod exit;
17pub mod render;
18pub mod secrets;