Skip to main content

tea_cli/
lib.rs

1#![forbid(unsafe_code)]
2#![deny(missing_docs)]
3
4//! Interactive and headless interfaces for the reference Coding CLI.
5//!
6//! Terminal, argument parser, JSONL/RPC, and presentation dependencies stop at
7//! this crate. Runtime and product state remain authoritative in inward crates.
8
9/// Shared command-line argument contract.
10pub mod args;
11/// Injected production/test service bootstrap.
12pub mod bootstrap;
13mod exit;
14mod jsonl;
15/// Presentation modes over the application service.
16pub mod modes;
17/// Strict bounded JSONL/RPC process interface.
18pub mod rpc;
19/// Stable host projections shared by terminal and RPC session views.
20pub mod session_views;
21/// Pure terminal projection, rendering, routing, and lifecycle boundaries.
22pub mod tui;
23
24pub use bootstrap::{BootstrapEnvironment, CliBootstrap};
25pub use exit::{CliFailure, ExitCategory};
26
27/// Returns the stable private-pre-release executable version.
28#[must_use]
29pub const fn version() -> &'static str {
30    env!("CARGO_PKG_VERSION")
31}