Skip to main content

chrome_cli/
lib.rs

1// Library target exists to expose internal modules for integration tests
2// and for the xtask binary (man page generation).
3// The binary entry point is in main.rs.
4
5mod cli;
6
7pub mod cdp;
8pub mod chrome;
9pub mod config;
10pub mod connection;
11pub mod error;
12pub mod session;
13
14/// Returns the clap `Command` definition for man page and completion generation.
15///
16/// This is used by the xtask binary to generate man pages without depending
17/// on the binary crate directly.
18#[must_use]
19pub fn command() -> clap::Command {
20    <cli::Cli as clap::CommandFactory>::command()
21}