Skip to main content

agent_tui/
lib.rs

1#![deny(clippy::all)]
2#![allow(dead_code)]
3#![cfg_attr(test, allow(clippy::expect_used))]
4
5//! Facade crate for the `agent-tui` binary and public CLI command API.
6
7#[cfg(not(unix))]
8compile_error!(
9    "agent-tui is Unix-only. Supported environments are Linux, macOS, and other Unix-like systems with PTYs, Unix domain sockets, and POSIX signals."
10);
11
12use clap::CommandFactory;
13
14pub use agent_tui_app::app::Application;
15
16/// Build the clap command for doc generation and tooling.
17pub fn cli_command() -> clap::Command {
18    agent_tui_app::app::commands::Cli::command()
19}